Allowing npm tests to run in UTC timezone.
This is needed because we have a jest test that checks a DateTime formatter function.
However it formats the date time to the local machines timezone, which causes the test to fail.
This change fixes that failing test no matter which time zone the tests are run.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project
Change your machines to different time zones and run the npm tests.
bash cd bitcoin-abc/web/cashtab npm i npm test # all tests should pass!
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- fix-npm-tests
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 17843 Build 35512: Build Diff cashtab-tests Build 35511: arc lint + arc unit