diff --git a/package.json b/package.json index 6c9d9c0d6..e4da1ad81 100644 --- a/package.json +++ b/package.json @@ -947,7 +947,7 @@ "package": "vsce package", "pretest": "npm run compile:tests && npm run compile && npm run lint", "test": "vscode-test", - "test:coverage": "vscode-test --coverage", + "test:coverage": "npm run compile:tests && npm run compile && vscode-test --coverage", "wdio": "npm run compile && wdio run ./src/test/e2e/wdio.conf.ts", "lint": "eslint", "format": "prettier --write .",