Skip to content

Commit 3d6da29

Browse files
authored
fix: setTimeout for time-consuming test (sveltejs#222)
1 parent 48751dc commit 3d6da29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/env_file.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const chromium_flags = ['--enable-features=SharedArrayBuffer'];
55
const iframe_selector = 'iframe[src*="webcontainer.io/"]';
66

77
test('.env file: no timeout error occurs when switching a tutorials without a .env file to one with it', async () => {
8+
test.setTimeout(60000);
9+
810
const context = await chromium.launchPersistentContext('', { args: chromium_flags });
911
const page = context.pages()[0];
1012
await page.bringToFront();

0 commit comments

Comments
 (0)