Skip to content

Commit

Permalink
increase browser test beforeAll timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya committed Jun 4, 2024
1 parent 05b782b commit b502b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/browser/browser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Test browser Parser in the node env', function() {

console.info('navigating to localhost');
await page.goto('http://localhost:8080', { waitUntil: 'networkidle0' });
});
}, 10000);

afterAll(async function() {
await browser.close();
Expand All @@ -58,4 +58,4 @@ describe('Test browser Parser in the node env', function() {
const diagnostics = await page.evaluate(element => element && element.textContent, diagnosticsDiv);
expect(Number(diagnostics)).toBeGreaterThanOrEqual(0);
}, 5000);
});
});

0 comments on commit b502b32

Please sign in to comment.