Update test/helpers.js

pull/8526/head
Simon H 3 years ago committed by GitHub
parent 30b53e2f83
commit b48043f784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -361,7 +361,7 @@ export async function executeBrowserTest(browser, launchPuppeteer, additionalAss
await page.goto('http://localhost:6789'); await page.goto('http://localhost:6789');
const result = await page.evaluate(() => { const result = await page.evaluate(() => {
// @ts-ignore -- It runs in browser context. // @ts-ignore -- It runs in browser context.
return test(document.querySelector('main')) return test(document.querySelector('main'));
}); });
if (result) console.log(result); if (result) console.log(result);
additionalAssertion(); additionalAssertion();

Loading…
Cancel
Save