We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53dedb commit 02f9b0aCopy full SHA for 02f9b0a
2 files changed
examples/app-vitest-workspace/vitest.config.ts
@@ -1,5 +1,21 @@
1
import { defineConfig } from 'vitest/config'
2
+import { defineVitestProject } from '@nuxt/test-utils/config'
3
4
export default defineConfig({
- // any global vitest config
5
+ test: {
6
+ projects: [
7
+ await defineVitestProject({
8
9
+ name: 'nuxt',
10
+ include: ['**/*.nuxt.spec.ts'],
11
+ },
12
+ }),
13
+ {
14
15
+ name: 'unit',
16
+ include: ['**/*.unit.spec.ts'],
17
18
19
+ ],
20
21
})
examples/app-vitest-workspace/vitest.workspace.ts
0 commit comments