Skip to content

Commit 8c103ab

Browse files
committed
test: skip macos sandbox test with builtin modules path
Refs: #40605 PR-URL: #40607 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent fb7c437 commit 8c103ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-macos-app-sandbox.js

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
const common = require('../common');
33
if (process.platform !== 'darwin')
44
common.skip('App Sandbox is only available on Darwin');
5+
if (process.config.variables.node_builtin_modules_path)
6+
common.skip('App Sandbox cannot load modules from outside the sandbox');
57

68
const fixtures = require('../common/fixtures');
79
const tmpdir = require('../common/tmpdir');

0 commit comments

Comments
 (0)