From 8e5e1b5edb4793ff792339ca4a387c3794535dcd Mon Sep 17 00:00:00 2001 From: LiviaMedeiros Date: Sun, 3 Sep 2023 23:01:19 +0800 Subject: [PATCH] test: make `test-dotenv-node-options` locale-independent --- test/parallel/test-dotenv-node-options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-dotenv-node-options.js b/test/parallel/test-dotenv-node-options.js index 4b35f22f395371..7dbb1a423707db 100644 --- a/test/parallel/test-dotenv-node-options.js +++ b/test/parallel/test-dotenv-node-options.js @@ -46,7 +46,7 @@ describe('.env supports NODE_OPTIONS', () => { it('TZ environment variable', { skip: !common.hasIntl || process.config.variables.icu_small }, async () => { const code = ` - require('assert')(new Date().toString().includes('Hawaii')) + require('assert')(new Date().toString().includes('GMT-1000')) `.trim(); const child = await common.spawnPromisified( process.execPath,