Skip to content

Commit

Permalink
test: use --permission instead of --experimental-permission
Browse files Browse the repository at this point in the history
PR-URL: #56685
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Pietro Marchini <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
RafaelGSS authored and aduh95 committed Jan 31, 2025
1 parent 80217c9 commit 284598d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-permission-dc-worker-threads.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --experimental-permission --allow-fs-read=* --experimental-test-module-mocks
// Flags: --permission --allow-fs-read=* --experimental-test-module-mocks
'use strict';

const common = require('../common');
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-runner-module-mocking.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ test('should throw ERR_ACCESS_DENIED when permission model is enabled', async (t
const cwd = fixtures.path('test-runner');
const fixture = fixtures.path('test-runner', 'mock-nm.js');
const args = [
'--experimental-permission',
'--permission',
'--allow-fs-read=*',
'--experimental-test-module-mocks',
fixture,
Expand All @@ -674,7 +674,7 @@ test('should work when --allow-worker is passed and permission model is enabled'
const cwd = fixtures.path('test-runner');
const fixture = fixtures.path('test-runner', 'mock-nm.js');
const args = [
'--experimental-permission',
'--permission',
'--allow-fs-read=*',
'--allow-worker',
'--experimental-test-module-mocks',
Expand Down

0 comments on commit 284598d

Please sign in to comment.