Skip to content

Commit

Permalink
test: update windows timeout for e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 11, 2025
1 parent 4b22d22 commit 1acb335
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/app-vitest/test/browser.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { isWindows } from 'std-env'
await setup({
rootDir: fileURLToPath(new URL('../', import.meta.url)),
browser: true,
setupTimeout: isWindows ? 120000 : 10000,
})

describe('browser', () => {
Expand All @@ -14,5 +15,5 @@ describe('browser', () => {
const text = await page.getByRole('heading', { name: 'Welcome to Nuxt!' }).textContent()
expect(text).toContain('Welcome to Nuxt!')
await page.close()
}, isWindows ? 120000 : 10000)
})
})

0 comments on commit 1acb335

Please sign in to comment.