-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathvitest.config.js
More file actions
23 lines (22 loc) · 732 Bytes
/
Copy pathvitest.config.js
File metadata and controls
23 lines (22 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { defineConfig } from 'vitest/config';
export default defineConfig({
root: import.meta.dirname,
test: {
projects: [
'packages/*',
// Bun tests should run in Bun, not NodeJS
'!packages/adapter-bun',
// prevent Vitest from crawling nested Vite apps in the kit test directory
// which do not use Vitest but have a vite.config.js file
'!packages/kit',
'packages/kit/vitest.kit.config.js',
'packages/kit/test/apps/async',
'packages/kit/test/apps/basics',
'packages/kit/test/apps/options/vite.custom.config.js',
'packages/kit/test/build-errors',
'packages/kit/test/prerendering/basics',
'packages/kit/test/prerendering/options',
'packages/kit/test/prerendering/paths-base'
]
}
});