Skip to content

Commit 4351eca

Browse files
committed
Fix npm test command
1 parent 22a79eb commit 4351eca

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

extension/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
.vscode-test/
55
*.vsix
66
logs
7+
.npm/

extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
"build": "tsc -p tsconfig.json",
6666
"build-watch": "tsc -p tsconfig.json --watch",
6767
"prettier": "prettier --config .prettierrc --write './src/**/*{.ts,.js,.json}'",
68-
"test": "jest --reporters default jest-stare",
68+
"test": "vscode-test --config .vscode-test.mjs",
6969
"test:prettier": "prettier --config .prettierrc --list-different './src/**/*{.ts,.js,.json}'",
70-
"test:coverage": "jest --coverage --reporters default jest-stare",
70+
"test:coverage": "vscode-test --config .vscode-test.mjs --coverage --coverage-reporter text --coverage-reporter lcov",
7171
"lint": "eslint . --ext .ts",
7272
"lint:fix": "eslint . --ext .ts --fix"
7373
},

0 commit comments

Comments
 (0)