Skip to content

Commit ae559d8

Browse files
tests: remove sudo npm install from web
1 parent 0080fbb commit ae559d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/WebChromiumTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class WebChromiumTest extends Base
1010
'cp tests/languages/web/tests.js tests/sdks/web/tests.js',
1111
'cp tests/languages/web/node.js tests/sdks/web/node.js',
1212
'cp tests/languages/web/index.html tests/sdks/web/index.html',
13-
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal sudo npm install',
13+
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal npm install',
1414
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal npm run build',
1515
];
1616
protected string $command =

tests/WebNodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class WebNodeTest extends Base
1010
'cp tests/languages/web/tests.js tests/sdks/web/tests.js',
1111
'cp tests/languages/web/node.js tests/sdks/web/node.js',
1212
'cp tests/languages/web/index.html tests/sdks/web/index.html',
13-
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal sudo npm install', // npm list --depth 0 &&
13+
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal npm install', // npm list --depth 0 &&
1414
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal npm run build',
1515
];
1616
protected string $command =

0 commit comments

Comments
 (0)