From e39731da0db4073bf93ecbdf6eeb689b85121721 Mon Sep 17 00:00:00 2001 From: Priyanshu Agrawal Date: Mon, 16 Dec 2024 16:12:54 +0530 Subject: [PATCH] Add test scripts in .vscode\tasks.json To be able to easily run tests from VS Code, added test scripts in `tasks.json` --- .vscode/tasks.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index aacb85d7..0f6679bf 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -14,6 +14,34 @@ "group": "build", "problemMatcher": [], "label": "gulp: compileWeb" + }, + { + "type": "npm", + "script": "test-desktop-int", + "group": "test", + "problemMatcher": [], + "label": "Run Integration Tests: VS Code Deskop" + }, + { + "type": "npm", + "script": "test-web-integration", + "group": "test", + "problemMatcher": [], + "label": "Run Integration Tests: VS Code Web" + }, + { + "type": "npm", + "script": "test", + "group": "test", + "problemMatcher": [], + "label": "Run Unit Tests" + }, + { + "type": "npm", + "script": "coverage", + "group": "test", + "problemMatcher": [], + "label": "Run Code Coverage" } ] }