-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathvitest.config.ts
More file actions
83 lines (82 loc) · 2.2 KB
/
vitest.config.ts
File metadata and controls
83 lines (82 loc) · 2.2 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
projects: [
{
test: {
name: "test-next",
include: ["test-next/**/*.test.ts"]
}
},
{
test: {
name: "unit-rlc",
include: ["test/unit/**/*.spec.ts"],
testTimeout: 36000
}
},
{
test: {
name: "unit-modular",
include: ["test/modularUnit/**/*.spec.ts"],
testTimeout: 0,
pool: "forks",
poolOptions: {
forks: {
execArgv: ["--max-old-space-size=8192"]
}
}
}
},
{
test: {
name: "integration-rlc",
include: ["test/integration/*.spec.ts"],
exclude: ["test/integration/versioningRemoved.spec.ts"],
testTimeout: 36000
}
},
{
test: {
name: "integration-azure-rlc",
include: ["test/azureIntegration/*.spec.ts"],
exclude: [
"test/azureIntegration/versioningRemoved.spec.ts",
"test/azureIntegration/azureClientGeneratorCoreClientInitialization.spec.ts"
],
testTimeout: 36000
}
},
{
test: {
name: "integration-modular",
include: ["test/modularIntegration/*.spec.ts"],
testTimeout: 36000
}
},
{
test: {
name: "integration-azure-modular",
include: ["test/azureModularIntegration/*.spec.ts"],
exclude: [
"test/azureModularIntegration/clientStructureOperationGroup.spec.ts",
"test/azureModularIntegration/clientStructureRenamed.spec.ts",
"test/azureModularIntegration/clientStructureTwoGroup.spec.ts",
"test/azureModularIntegration/payloadMultipart.spec.ts"
],
testTimeout: 36000
}
}
],
coverage: {
provider: "istanbul",
reporter: ["text", "json", "html"],
include: [
"src/modular/serialization/**/*.ts",
"src/framework/**/*.ts",
"static/static-helpers/**/*.ts"
],
exclude: ["**/*.spec.ts", "**/*.spec.tsx", ".next/*"]
}
}
});