Skip to content

Commit

Permalink
fix npm run test command that running unit tests without coverage
Browse files Browse the repository at this point in the history
It fails right now because redhat-account-extension installation
script is not called before executing the tests

Signed-off-by: Denis Golovin <[email protected]>
  • Loading branch information
dgolovin authored and datho7561 committed May 23, 2023
1 parent 452abdd commit f341854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"lint-nic": "eslint . --ext .ts --no-inline-config",
"bundle-tools": "node ./out/build/bundle-tools.js --platform",
"todo": "leasot **/*.ts --ignore node_modules -x",
"test": "npm run vscode:prepublish && node ./out/build/run-tests.js unit",
"test": "npm run vscode:prepublish && node ./out/build/install-vscode.js redhat.vscode-redhat-account && node ./out/build/run-tests.js unit",
"test-integration": "npm run vscode:prepublish && node ./out/build/run-tests.js integration",
"test-integration:coverage": "npm run vscode:prepublish && npm run test:instrument && node ./out/build/run-tests.js integration",
"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",
Expand Down

0 comments on commit f341854

Please sign in to comment.