Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe('migrate CLI failure output', () => {
...args,
], {
cwd: path.resolve(__dirname, '../../..'),
env: { ...process.env, MONGO_URI: secretUri },
env: { ...process.env, MONGO_URI: secretUri, NODE_OPTIONS: [process.env.NODE_OPTIONS, '--no-deprecation'].filter(Boolean).join(' ') },
encoding: 'utf8',
timeout: 30000,
});
Expand Down
4 changes: 2 additions & 2 deletions backend/__tests__/unit/scripts/scrubFeedTokenCopies.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('scrub legacy feed token copies', () => {
...args,
], {
cwd: path.resolve(__dirname, '../../..'),
env: { ...process.env, MONGO_URI: uri },
env: { ...process.env, MONGO_URI: uri, NODE_OPTIONS: [process.env.NODE_OPTIONS, '--no-deprecation'].filter(Boolean).join(' ') },
encoding: 'utf8',
timeout: 15000,
});
Expand Down Expand Up @@ -127,7 +127,7 @@ describe('scrub CLI failure output', () => {
...args,
], {
cwd: path.resolve(__dirname, '../../..'),
env: { ...process.env, MONGO_URI: secretUri },
env: { ...process.env, MONGO_URI: secretUri, NODE_OPTIONS: [process.env.NODE_OPTIONS, '--no-deprecation'].filter(Boolean).join(' ') },
encoding: 'utf8',
timeout: 15000,
});
Expand Down
Loading