-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathvitest.config.ts
More file actions
37 lines (36 loc) · 911 Bytes
/
vitest.config.ts
File metadata and controls
37 lines (36 loc) · 911 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
32
33
34
35
36
37
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
include: ["packages/*/src/**/*.test.ts", "apps/*/src/**/*.test.ts", "tests/**/*.test.ts"],
testTimeout: 30000,
coverage: {
provider: "v8",
// M1 core runtime paths: core + gateway + tools + web channel.
include: [
"packages/core/src/**/*.ts",
"packages/gateway/src/**/*.ts",
"packages/tools/src/**/*.ts",
"packages/channels/src/**/*.ts",
],
exclude: [
"**/*.test.ts",
"**/*.d.ts",
"**/index.ts",
"**/node_modules/**",
"apps/**",
"packages/types/**",
"packages/gateway/src/protocol.ts",
"packages/channels/src/discord/**",
"packages/channels/src/slack/**",
"packages/channels/src/telegram/**",
"packages/channels/src/whatsapp/**",
],
thresholds: {
statements: 70,
branches: 65,
functions: 70,
lines: 70,
},
},
},
});