diff --git a/packages/test-utils/src/setup/vitest.ts b/packages/test-utils/src/setup/vitest.ts index 8114506749..d850232fa6 100644 --- a/packages/test-utils/src/setup/vitest.ts +++ b/packages/test-utils/src/setup/vitest.ts @@ -2,7 +2,7 @@ import type { TestHooks } from '../types' export default async function setupVitest (hooks: TestHooks) { const vitest = await import('vitest') - vitest.test('setup nuxt', hooks.setup, 60000) + vitest.beforeAll(hooks.setup, 60000) vitest.beforeEach(hooks.beforeEach) vitest.afterEach(hooks.afterEach) vitest.afterAll(hooks.afterAll)