Skip to content

Commit 060ab53

Browse files
committed
test: use stock chrome to avoid reinstalling chromium
1 parent 1f6071d commit 060ab53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "swc src -d dist -s true --strip-leading-paths && tsc --emitDeclarationOnly",
99
"prepare": "swc src -d dist --strip-leading-paths && tsc --emitDeclarationOnly",
1010
"test:node": "./test/run-testsuite.sh node",
11-
"test:browser": "playwright install --with-deps --no-shell chromium && exec ./test/run-testsuite.sh browser",
11+
"test:browser": "exec ./test/run-testsuite.sh browser",
1212
"test": "npm run test:node && npm run test:browser",
1313
"check": "tsc --noEmit && prettier src -c && eslint src/"
1414
},

test/adapters/browser/run-wasi.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async function configureRoutes(context, harnessURL) {
9595
}
9696

9797
async function runWASIOnBrowser(options) {
98-
const browser = await chromium.launch({channel: "chromium"});
98+
const browser = await chromium.launch({ channel: "chrome" });
9999
const context = await browser.newContext();
100100
const harnessURL = 'http://browser-wasi-shim.localhost'
101101

0 commit comments

Comments
 (0)