Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eb3148f

Browse filesBrowse files
RafaelGSSaduh95
authored andcommitted
test: use --permission instead of --experimental-permission
PR-URL: #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>
1 parent 02f36ca commit eb3148f
Copy full SHA for eb3148f

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-permission-dc-worker-threads.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-permission-dc-worker-threads.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --experimental-permission --allow-fs-read=* --experimental-test-module-mocks
1+
// Flags: --permission --allow-fs-read=* --experimental-test-module-mocks
22
'use strict';
33

44
const common = require('../common');
Collapse file

‎test/parallel/test-runner-module-mocking.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-runner-module-mocking.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ test('should throw ERR_ACCESS_DENIED when permission model is enabled', async (t
655655
const cwd = fixtures.path('test-runner');
656656
const fixture = fixtures.path('test-runner', 'mock-nm.js');
657657
const args = [
658-
'--experimental-permission',
658+
'--permission',
659659
'--allow-fs-read=*',
660660
'--experimental-test-module-mocks',
661661
fixture,
@@ -674,7 +674,7 @@ test('should work when --allow-worker is passed and permission model is enabled'
674674
const cwd = fixtures.path('test-runner');
675675
const fixture = fixtures.path('test-runner', 'mock-nm.js');
676676
const args = [
677-
'--experimental-permission',
677+
'--permission',
678678
'--allow-fs-read=*',
679679
'--allow-worker',
680680
'--experimental-test-module-mocks',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.