Skip to content

Commit

Permalink
Updating how harness invoke puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Jan 27, 2024
1 parent 0cd45de commit 1e93428
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/realm-web-integration-tests/harness/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ export async function run(devtools = false) {
await mochaServer.start();

// Start up the browser, running the tests
const browser = await puppeteer.launch({ devtools });
const browser = await puppeteer.launch({
devtools,
headless: devtools ? false : "new",
});

process.once("exit", () => {
browser.close();
Expand Down

0 comments on commit 1e93428

Please sign in to comment.