diff --git a/test/reporters/fixtures/duration/basic.test.ts b/test/reporters/fixtures/duration/basic.test.ts index bf9736b7ad7a..c858a4b6c450 100644 --- a/test/reporters/fixtures/duration/basic.test.ts +++ b/test/reporters/fixtures/duration/basic.test.ts @@ -1,11 +1,10 @@ import { test } from 'vitest'; -test('fast', async () => { - await sleep(10) +test('fast', () => { }); test('slow', async () => { - await sleep(200) + await sleep(300) }); const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)) diff --git a/test/reporters/fixtures/duration/vitest.config.ts b/test/reporters/fixtures/duration/vitest.config.ts index 74bde96c0da3..aae6f0f467b6 100644 --- a/test/reporters/fixtures/duration/vitest.config.ts +++ b/test/reporters/fixtures/duration/vitest.config.ts @@ -2,6 +2,6 @@ import { defineConfig } from 'vitest/config' export default defineConfig({ test: { - slowTestThreshold: 100 + slowTestThreshold: 290 } })