-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathvitest.e2e.config.ts
More file actions
51 lines (49 loc) · 1.23 KB
/
vitest.e2e.config.ts
File metadata and controls
51 lines (49 loc) · 1.23 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
import path from "node:path";
import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
const repoRoot = path.dirname(fileURLToPath(import.meta.url));
export default defineConfig({
resolve: {
alias: {
"milady/plugin-sdk": path.join(repoRoot, "src", "plugin-sdk", "index.ts"),
"@elizaos/skills": path.join(
repoRoot,
"test",
"stubs",
"empty-module.mjs",
),
"@elizaos/plugin-agent-orchestrator": path.join(
repoRoot,
"test",
"stubs",
"coding-agent-module.ts",
),
"@elizaos/plugin-coding-agent": path.join(
repoRoot,
"test",
"stubs",
"coding-agent-module.ts",
),
"@elizaos/plugin-pi-ai": path.join(
repoRoot,
"test",
"stubs",
"pi-ai-module.ts",
),
electron: path.join(repoRoot, "test", "stubs", "electron-module.ts"),
},
},
test: {
testTimeout: 120_000,
hookTimeout: 120_000,
pool: "forks",
maxWorkers: 1,
sequence: {
concurrent: false,
shuffle: false,
},
include: ["test/**/*.e2e.test.ts"],
setupFiles: ["test/setup.ts"],
exclude: ["dist/**", "**/node_modules/**"],
},
});