mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: use --permission instead of --experimental-permission
PR-URL: https://github.com/nodejs/node/pull/56685 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
02f36ca11b
commit
eb3148fb5c
2 files changed
+3
-3
No files matched your search
@@ -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');
|
||||
|
||||
@@ -655,7 +655,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,
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user