Skip to content

Commit 7f24db6

Browse files
committed
test: correct conditional secure heap flags test
1 parent 82fc81c commit 7f24db6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/parallel/test-process-env-allowed-flags-are-documented.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ const conditionalOpts = [
7474
}, {
7575
include: process.features.inspector,
7676
filter: (opt) => opt.startsWith('--inspect') || opt === '--debug-port'
77-
},
77+
}, {
78+
include: !isV8Sandboxed,
79+
filter: (opt) => ['--secure-heap', '--secure-heap-min'].includes(opt)
80+
}
7881
];
7982
documented.forEach((opt) => {
8083
conditionalOpts.forEach(({ include, filter }) => {

0 commit comments

Comments
 (0)