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:
Siddarth Kumar 2023-01-16 16:34:15 +05:30 committed by GitHub
parent aa8f5b3d48
commit d6c899be3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
var Mocks = require('../target/mocks/mocks.js');
var Module = require('module');
process.env.TZ = 'Etc/UTC'
const originalLoader = Module._load;