Skip to content

Commit 6fd4cd4

Browse files
committed
chore: udpate infra for tests
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent 0009aa3 commit 6fd4cd4

24 files changed

+848
-433
lines changed

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"vitest.explorer",
4+
"ms-vscode.vscode-typescript-next",
5+
"esbenp.prettier-vscode"
6+
]
7+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"files.exclude": {
3+
"**/.DS_Store": true,
4+
"**/.git": true,
5+
"**/.hg": true,
6+
"**/.svn": true,
7+
"**/.turbo": true,
8+
"**/node_modules": true,
9+
"**/Thumbs.db": true,
10+
},
11+
"vitest.rootConfig": "./vitest.config.ts",
12+
"vitest.workspaceConfig": "./vitest.config.ts",
13+
}

.vscode/tasks.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Test: All Unit Tests",
6+
"type": "shell",
7+
"command": "npm",
8+
"args": [
9+
"run",
10+
"test:uni"
11+
],
12+
"group": {
13+
"kind": "test",
14+
"isDefault": true
15+
},
16+
"presentation": {
17+
"echo": true,
18+
"reveal": "always",
19+
"focus": false,
20+
"panel": "shared"
21+
},
22+
"problemMatcher": []
23+
},
24+
{
25+
"label": "Test: All Integration Tests",
26+
"type": "shell",
27+
"command": "npm",
28+
"args": [
29+
"run",
30+
"test:int"
31+
],
32+
"group": "test",
33+
"presentation": {
34+
"echo": true,
35+
"reveal": "always",
36+
"focus": false,
37+
"panel": "shared"
38+
},
39+
"problemMatcher": []
40+
},
41+
{
42+
"label": "Test: All E2E Tests",
43+
"type": "shell",
44+
"command": "npm",
45+
"args": [
46+
"run",
47+
"test:e2e"
48+
],
49+
"group": "test",
50+
"presentation": {
51+
"echo": true,
52+
"reveal": "always",
53+
"focus": false,
54+
"panel": "shared"
55+
},
56+
"problemMatcher": []
57+
},
58+
{
59+
"label": "Test: Everything",
60+
"type": "shell",
61+
"command": "npm",
62+
"args": [
63+
"run",
64+
"test:all"
65+
],
66+
"group": "test",
67+
"presentation": {
68+
"echo": true,
69+
"reveal": "always",
70+
"focus": false,
71+
"panel": "shared"
72+
},
73+
"problemMatcher": []
74+
},
75+
{
76+
"label": "Test: UI Mode",
77+
"type": "shell",
78+
"command": "npx",
79+
"args": [
80+
"vitest",
81+
"--ui"
82+
],
83+
"group": "test",
84+
"isBackground": true,
85+
"presentation": {
86+
"echo": true,
87+
"reveal": "always",
88+
"focus": false,
89+
"panel": "shared"
90+
},
91+
"problemMatcher": []
92+
}
93+
]
94+
}

0 commit comments

Comments
 (0)