Skip to content

Commit d524e97

Browse files
committed
chore: nuxt test utils root
1 parent 1121d0b commit d524e97

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

vitest.config.ts

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/// <reference types="vitest" />
22
/// <reference types="vitest/globals" />
3-
4-
import { defineConfig } from 'vite'
3+
import { defineVitestConfig } from '@nuxt/test-utils/config'
54
import { isCI } from 'std-env'
65

7-
export default defineConfig({
6+
export default defineVitestConfig({
87
test: {
98
isolate: true,
109
poolOptions: {
@@ -16,12 +15,5 @@ export default defineConfig({
1615
'test/integration/**',
1716
'test/unit/**',
1817
],
19-
watchExclude: [
20-
'dist',
21-
'playground',
22-
'test/**/*',
23-
'**/.nuxt/**/*',
24-
'**/.output/**/*',
25-
],
2618
},
2719
})

0 commit comments

Comments
 (0)