File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ test('can use mjs library in development', async () => {
8
8
const browser = await puppeteer . launch ( { headless : true } ) ;
9
9
try {
10
10
const page = await browser . newPage ( ) ;
11
- await page . goto ( `http://localhost:${ port } /` , { timeout : 60000 } ) ;
11
+ await page . goto ( `http://localhost:${ port } /` ) ;
12
12
await page . waitForSelector ( '.Pokemon-Name-Data' , { timeout : 0 } ) ;
13
13
const output = await page . evaluate ( ( ) => {
14
14
return Array . from (
@@ -28,7 +28,7 @@ test('can use mjs library in production', async () => {
28
28
const browser = await puppeteer . launch ( { headless : true } ) ;
29
29
try {
30
30
const page = await browser . newPage ( ) ;
31
- await page . goto ( `http://localhost:${ port } /` , { timeout : 60000 } ) ;
31
+ await page . goto ( `http://localhost:${ port } /` ) ;
32
32
await page . waitForSelector ( '.Pokemon-Name-Data' , { timeout : 0 } ) ;
33
33
const output = await page . evaluate ( ( ) => {
34
34
return Array . from (
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ test('shows error overlay in browser', async () => {
9
9
const browser = await puppeteer . launch ( { headless : true } ) ;
10
10
try {
11
11
const page = await browser . newPage ( ) ;
12
- await page . goto ( `http://localhost:${ port } /` , { timeout : 60000 } ) ;
12
+ await page . goto ( `http://localhost:${ port } /` ) ;
13
13
await page . waitForSelector ( 'iframe' , { timeout : 5000 } ) ;
14
14
const errorMsg = await page . evaluate ( ( ) => {
15
15
const overlay = document . querySelector ( 'iframe' ) . contentWindow ;
You can’t perform that action at this time.
0 commit comments