Skip to content

Commit f341854

Browse files
dgolovindatho7561
authored andcommitted
fix npm run test command that running unit tests without coverage
It fails right now because redhat-account-extension installation script is not called before executing the tests Signed-off-by: Denis Golovin <[email protected]>
1 parent 452abdd commit f341854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"lint-nic": "eslint . --ext .ts --no-inline-config",
7777
"bundle-tools": "node ./out/build/bundle-tools.js --platform",
7878
"todo": "leasot **/*.ts --ignore node_modules -x",
79-
"test": "npm run vscode:prepublish && node ./out/build/run-tests.js unit",
79+
"test": "npm run vscode:prepublish && node ./out/build/install-vscode.js redhat.vscode-redhat-account && node ./out/build/run-tests.js unit",
8080
"test-integration": "npm run vscode:prepublish && node ./out/build/run-tests.js integration",
8181
"test-integration:coverage": "npm run vscode:prepublish && npm run test:instrument && node ./out/build/run-tests.js integration",
8282
"test:instrument": "shx rm -rf out/src-orig && shx mv out/src out/src-orig && istanbul instrument --complete-copy --embed-source --output out/src out/src-orig",

0 commit comments

Comments
 (0)