Skip to content

Commit 29ca550

Browse files
committed
Revert puppeteer navigation timeouts to default
1 parent 7a41d2b commit 29ca550

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/fixtures/mjs-support/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test('can use mjs library in development', async () => {
88
const browser = await puppeteer.launch({ headless: true });
99
try {
1010
const page = await browser.newPage();
11-
await page.goto(`http://localhost:${port}/`, { timeout: 60000 });
11+
await page.goto(`http://localhost:${port}/`);
1212
await page.waitForSelector('.Pokemon-Name-Data', { timeout: 0 });
1313
const output = await page.evaluate(() => {
1414
return Array.from(
@@ -28,7 +28,7 @@ test('can use mjs library in production', async () => {
2828
const browser = await puppeteer.launch({ headless: true });
2929
try {
3030
const page = await browser.newPage();
31-
await page.goto(`http://localhost:${port}/`, { timeout: 60000 });
31+
await page.goto(`http://localhost:${port}/`);
3232
await page.waitForSelector('.Pokemon-Name-Data', { timeout: 0 });
3333
const output = await page.evaluate(() => {
3434
return Array.from(

test/fixtures/typescript-typecheck/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('shows error overlay in browser', async () => {
99
const browser = await puppeteer.launch({ headless: true });
1010
try {
1111
const page = await browser.newPage();
12-
await page.goto(`http://localhost:${port}/`, { timeout: 60000 });
12+
await page.goto(`http://localhost:${port}/`);
1313
await page.waitForSelector('iframe', { timeout: 5000 });
1414
const errorMsg = await page.evaluate(() => {
1515
const overlay = document.querySelector('iframe').contentWindow;

0 commit comments

Comments
 (0)