This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Fix skipped tests that are using test snapshots that convert timestamps to local time #105
Labels
test
fix/enhance testing
Currently, 3 tests are being skipped because they are comparing against test snapshots that contain timestamp conversion logic. Because of this, if the tests are run in a different timezone (example: GitHub runners which run in UTC) the tests will fail, as the raw timestamp in the test is converted to a different local time, and will not match the snapshot's converted local time.
If possible: change the snapshots to only contain the raw timestamp and not the converted value. If that is not possible, then add code in the skipped tests that will test in a way other than comparing to the test snapshot.
The text was updated successfully, but these errors were encountered: