Skip to content

Commit

Permalink
test: skip macos sandbox test with builtin modules path
Browse files Browse the repository at this point in the history
Refs: #40605

PR-URL: #40607
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
targos authored and BethGriggs committed Nov 25, 2021
1 parent bc0eb0a commit 63b44fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-macos-app-sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
const common = require('../common');
if (process.platform !== 'darwin')
common.skip('App Sandbox is only available on Darwin');
if (process.config.variables.node_builtin_modules_path)
common.skip('App Sandbox cannot load modules from outside the sandbox');

const fixtures = require('../common/fixtures');
const tmpdir = require('../common/tmpdir');
Expand Down

0 comments on commit 63b44fc

Please sign in to comment.