-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
31 lines (30 loc) · 970 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
31 lines (30 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { defineConfig } from 'vitest/config'
// Two projects: the Solid tests need vite-plugin-solid's JSX transform, which
// must not rewrite the React `.tsx` tests. The solid project lives with its
// substrate (packages/solid/vitest.config.ts).
export default defineConfig({
test: {
projects: [
{
test: {
name: 'default',
globals: false,
environment: 'node',
// scripts/templates holds __name__-tokenized stubs (not runnable),
// .worktrees/.claude hold local checkouts, packages/native runs on
// jest-expo — see packages/native/jest.config.cjs.
exclude: [
'**/node_modules/**',
'**/dist/**',
'scripts/templates/**',
'packages/native/**',
'packages/solid/**',
'**/.worktrees/**',
'**/.claude/**',
],
},
},
'./packages/solid/vitest.config.ts',
],
},
})