-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvitest.config.ts
35 lines (33 loc) · 850 Bytes
/
vitest.config.ts
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
32
33
34
35
/// <reference types="vitest" />
import path from "node:path";
import { defineConfig } from "vite";
export default defineConfig({
test: {
include: ["./test/**/*.test.ts"],
globals: true,
coverage: {
provider: "v8",
},
reporters: ["hanging-process", "github-actions", "default"],
},
server: {
watch: {
ignored: [
"**/node_modules/**",
"**/.git/**",
"**/submodules/**",
"**/patches/**",
"**/dist/**",
"**/build/**",
"**/experiments/**",
"**/coverage/**",
"**/ui/**",
],
},
},
resolve: {
alias: {
"the-wireguard-effect": path.resolve(__dirname, "src"),
},
},
});