Chore: Set timezone for tests to non utc. (#28405)

* Set timezone for tests to non utc.

* Fix comment
This commit is contained in:
Andrej Ocenas
2020-10-20 17:41:47 +02:00
committed by GitHub
parent 0bfdf79968
commit 4169646c84
2 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,7 @@
process.env.TZ = 'UTC';
// We set this specifically for 2 reasons.
// 1. It makes sense for both CI tests and local tests to behave the same so issues are found earlier
// 2. Any wrong timezone handling could be hidden if we use UTC/GMT local time (which would happen in CI).
process.env.TZ = 'Pacific/Easter';
module.exports = {
verbose: false,