forked from DouglasNeuroInformatics/OpenDataCapture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
29 lines (27 loc) · 812 Bytes
/
vitest.config.ts
File metadata and controls
29 lines (27 loc) · 812 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
import path from 'path';
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
projects: ['apps/*/vitest.config.ts', 'packages/*/vitest.config.ts'],
coverage: {
exclude: [
'**/.storybook/**',
'**/coverage/**',
'**/cypress/**',
'**/dist/**',
'**/public/**',
'**/scripts/**',
'**/*.d.?(c|m)ts',
'**/*{.,-}{test,test-d,spec}.?(c|m)[jt]s?(x)',
'**/*.config.?(c|m)[jt]s?(x)',
'**/*.stories.?(c|m)[jt]s?(x)'
],
include: ['apps/**/*', 'packages/**/*'],
provider: 'v8',
reportsDirectory: path.resolve(import.meta.dirname, 'coverage'),
skipFull: true
},
include: ['**/*/test.?(c|m)[jt]s?(x)', '**/*.{test,spec}.?(c|m)[jt]s?(x)'],
watch: false
}
});