mirror of https://github.com/vector-im/riot-web
Fix TimeZone to be UTC in Jest tests (#7082)
parent
558a6204f1
commit
7a203461f7
|
@ -195,6 +195,7 @@
|
|||
"testMatch": [
|
||||
"<rootDir>/test/**/*-test.[jt]s?(x)"
|
||||
],
|
||||
"globalSetup": "<rootDir>/test/globalSetup.js",
|
||||
"setupFiles": [
|
||||
"jest-canvas-mock"
|
||||
],
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = async () => {
|
||||
process.env.TZ = 'UTC';
|
||||
};
|
Loading…
Reference in New Issue