Add unit tests task

This commit is contained in:
Timofey Boyko 2023-12-29 14:58:39 +03:00
parent 4b7ab9cd53
commit 3e011c5f24
2 changed files with 20 additions and 0 deletions

15
.vscode/tasks.json vendored
View File

@ -316,6 +316,21 @@
"focus": true, "focus": true,
"close": false "close": false
} }
},
{
"label": "Test | Jest:unit",
"type": "shell",
"command": "cd ${workspaceFolder} ; yarn test ; ",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"close": false
}
} }
] ]
} }

View File

@ -167,6 +167,11 @@
"label": "spellcheck-force-save", "label": "spellcheck-force-save",
"task": "Test | frontend-translations-spellcheck-force-save", "task": "Test | frontend-translations-spellcheck-force-save",
"tooltip": "🛠️ Start the \"frontend translation spellcheck tests\" task" "tooltip": "🛠️ Start the \"frontend translation spellcheck tests\" task"
},
{
"label": "unit",
"task": "Test | Jest:unit",
"tooltip": "🛠️ Start the \"Test | Jest:unit\" task"
} }
], ],
"tooltip": "🛠️ Client tests tasks" "tooltip": "🛠️ Client tests tasks"