mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Fix tests (#2040)
This commit is contained in:
parent
ad546a054f
commit
a7a4a743bc
@ -55,6 +55,7 @@
|
|||||||
"automock": false,
|
"automock": false,
|
||||||
"maxWorkers": 4,
|
"maxWorkers": 4,
|
||||||
"testTimeout": 10000,
|
"testTimeout": 10000,
|
||||||
|
"globalSetup": "./scripts/jest-setup.js",
|
||||||
"transform": {
|
"transform": {
|
||||||
"^.+\\.tsx?$": "ts-jest"
|
"^.+\\.tsx?$": "ts-jest"
|
||||||
},
|
},
|
||||||
|
3
scripts/jest-setup.js
Normal file
3
scripts/jest-setup.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = async () => {
|
||||||
|
process.env.TZ = 'UTC';
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user