GeezerVison is showing github.com — test: use --permission instead of --experimental-permission · nodejs/node@eb3148f
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
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 number | Diff line number | Diff line change |
|---|
|
1 | | -// Flags: --experimental-permission --allow-fs-read=* --experimental-test-module-mocks |
| 1 | +// Flags: --permission --allow-fs-read=* --experimental-test-module-mocks |
2 | 2 | 'use strict'; |
3 | 3 |
|
4 | 4 | const common = require('../common'); |
|
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-runner-module-mocking.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -655,7 +655,7 @@ test('should throw ERR_ACCESS_DENIED when permission model is enabled', async (t |
655 | 655 | const cwd = fixtures.path('test-runner'); |
656 | 656 | const fixture = fixtures.path('test-runner', 'mock-nm.js'); |
657 | 657 | const args = [ |
658 | | - '--experimental-permission', |
| 658 | + '--permission', |
659 | 659 | '--allow-fs-read=*', |
660 | 660 | '--experimental-test-module-mocks', |
661 | 661 | fixture, |
@@ -674,7 +674,7 @@ test('should work when --allow-worker is passed and permission model is enabled' |
674 | 674 | const cwd = fixtures.path('test-runner'); |
675 | 675 | const fixture = fixtures.path('test-runner', 'mock-nm.js'); |
676 | 676 | const args = [ |
677 | | - '--experimental-permission', |
| 677 | + '--permission', |
678 | 678 | '--allow-fs-read=*', |
679 | 679 | '--allow-worker', |
680 | 680 | '--experimental-test-module-mocks', |
|