mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-27 17:06:18 +00:00
make sure nodejs uses a fixed timezone (#14793)
* make sure node uses the UTC timezone we have a few timebomb tests in the codebase that would break and making sure node specifies a timezone fixes them.
This commit is contained in:
parent
aa8f5b3d48
commit
d6c899be3d
@ -1,5 +1,6 @@
|
|||||||
var Mocks = require('../target/mocks/mocks.js');
|
var Mocks = require('../target/mocks/mocks.js');
|
||||||
var Module = require('module');
|
var Module = require('module');
|
||||||
|
process.env.TZ = 'Etc/UTC'
|
||||||
|
|
||||||
const originalLoader = Module._load;
|
const originalLoader = Module._load;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user