Skip to content

Commit 163bc68

Browse files
committed
fixup! test: skip tests not passing without NODE_OPTIONS support
1 parent e2cf63f commit 163bc68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/parallel/test-max-old-space-size-percentage.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ invalidPercentages.forEach((input) => {
4444
assert.match(result.stderr.toString(), input[1]);
4545
});
4646

47+
if (process.config.variables.node_without_node_options) {
48+
common.skip('missing NODE_OPTIONS support');
49+
}
50+
4751
// Test NODE_OPTIONS with valid percentages
4852
validPercentages.forEach((input) => {
4953
const result = spawnSync(process.execPath, [], {

0 commit comments

Comments
 (0)