We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NODE_PENDING_DEPRECATION
1 parent 3d38bab commit 21cdb73Copy full SHA for 21cdb73
test/parallel/test-pending-deprecation.js
@@ -25,7 +25,8 @@ switch (process.argv[2]) {
25
break;
26
default:
27
// Verify that the flag is off by default.
28
- assert.strictEqual(config.pendingDeprecation, undefined);
+ const envvar = process.env.NODE_PENDING_DEPRECATION;
29
+ assert.strictEqual(config.pendingDeprecation, envvar && envvar[0] === '1');
30
31
// Test the --pending-deprecation command line switch.
32
fork(__filename, ['switch'], {
0 commit comments