summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2025-07-05 08:18:15 +0900
committerGitHub <noreply@github.com>2025-07-05 08:18:15 +0900
commitbf17092b41164e293ab8f2912a3a80a6d316bf0f (patch)
treec06271a4a9fe1e23f53eab8bec0675c52c38d20f
parentBump version to 2025.7.0-beta.0 (diff)
downloadmisskey-bf17092b41164e293ab8f2912a3a80a6d316bf0f.tar.gz
misskey-bf17092b41164e293ab8f2912a3a80a6d316bf0f.tar.bz2
misskey-bf17092b41164e293ab8f2912a3a80a6d316bf0f.zip
test: VS Code上で複数のjestテストを表示できるように (#16251)
-rw-r--r--.vscode/settings.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 0ceec23acd..5f36a32af4 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -6,8 +6,12 @@
"files.associations": {
"*.test.ts": "typescript"
},
- "jest.jestCommandLine": "pnpm run jest",
"jest.runMode": "on-demand",
+ "jest.virtualFolders": [
+ { "name": "backend unit", "jestCommandLine": "pnpm -F backend run test" },
+ { "name": "backend e2e", "jestCommandLine": "pnpm -F backend run test:e2e"},
+ { "name": "misskey-js", "jestCommandLine": "pnpm -F misskey-js run jest" }
+ ],
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},