From 0cee7bc90f727e351c74a5d5de47ea0a6f7da9c8 Mon Sep 17 00:00:00 2001 From: fr43nk Date: Tue, 6 Sep 2022 13:49:17 +0200 Subject: [PATCH] Fixed test run start --- .vscode/launch.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index e91e562..7c15d6c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -53,7 +53,7 @@ "--extensionTestsPath=${workspaceFolder}/out/test" ], "outFiles": ["${workspaceFolder}/out/test/**/*.js"], - "preLaunchTask": "npm: test-compile" + "preLaunchTask": "npm: pretest" } ] } diff --git a/package.json b/package.json index c2a0cc7..3b47a43 100644 --- a/package.json +++ b/package.json @@ -681,7 +681,7 @@ "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", - "test": "node ./out/test/runTest.js", + "test": "node ./out/src/test/runTest.js", "deploy": "vsce publish", "webpack": "webpack --mode development", "webpack-dev": "webpack --mode development --watch",