Set Jest's timezone to UTC (#7670)
This commit is contained in:
parent
930ccdccf5
commit
f75bcf8673
1 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
// Consistent timezone for testing.
|
||||
// This does not work on windows, see https://github.com/nodejs/node/issues/4230
|
||||
process.env.TZ = 'UTC';
|
||||
|
||||
module.exports = {
|
||||
collectCoverageFrom: [
|
||||
'app/javascript/**/*.{js,jsx}',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue