Skip to content

Commit

Permalink
fix: use downloaded chromium for adapter static test too
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed May 25, 2022
1 parent 827eeb9 commit 6aea953
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/adapter-static/test/utils.js
Expand Up @@ -48,11 +48,7 @@ export function run(app, callback) {
context.server = await create_server(context.port, handler);

context.base = `http://localhost:${context.port}`;
context.browser = await chromium.launch({
// use stable chrome from host OS instead of downloading one
// see https://playwright.dev/docs/browsers#google-chrome--microsoft-edge
channel: 'chrome'
});
context.browser = await chromium.launch();
context.page = await context.browser.newPage();
} catch (e) {
// TODO remove unnecessary try-catch https://github.com/lukeed/uvu/pull/61
Expand Down

0 comments on commit 6aea953

Please sign in to comment.