Skip to content

Commit 6888b24

Browse files
committed
Lets test it :)
1 parent b150929 commit 6888b24

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@
9292
"scripts": {
9393
"cm": "git diff-index --cached --quiet HEAD || git-cz",
9494
"vscode:prepublish": "yarn run compile",
95-
"compile": "rimraf out && parcel build --reporter @parcel/reporter-bundle-analyzer",
95+
"compile": "rimraf out && parcel build",
96+
"compile:analyze": "rimraf out && parcel build --reporter @parcel/reporter-bundle-analyzer",
9697
"lint": "eslint src --ext ts --fix",
9798
"watch": "parcel",
98-
"pretest": "yarn run compile && yarn run lint",
99+
"pretest": "rimraf out && tsc -p ./ && yarn run lint",
99100
"test": "node ./out/test/runTest.js",
100101
"release": "vsce publish",
101102
"version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"

src/test/runTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function main() {
99

1010
// The path to test runner
1111
// Passed to --extensionTestsPath
12-
const extensionTestsPath = path.resolve(__dirname, './suite/index');
12+
const extensionTestsPath = path.resolve(__dirname, './suite/index.js');
1313

1414
// Download VS Code, unzip it and run the integration test
1515
await runTests({ extensionDevelopmentPath, extensionTestsPath, launchArgs: ['--disable-extensions'] });

0 commit comments

Comments
 (0)