Skip to content

Commit

Permalink
test: make test-dotenv-node-options locale-independent
Browse files Browse the repository at this point in the history
PR-URL: #49470
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
LiviaMedeiros authored and ruyadorno committed Sep 28, 2023
1 parent 15b54ff commit 3987094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dotenv-node-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
// Some CI environments set TZ. Since an env file doesn't override existing
// environment variables, we need to delete it and then pass the env object
Expand Down

0 comments on commit 3987094

Please sign in to comment.