diff --git a/helloworld-test-sample/package-lock.json b/helloworld-test-sample/package-lock.json index ff36465b..7a954906 100644 --- a/helloworld-test-sample/package-lock.json +++ b/helloworld-test-sample/package-lock.json @@ -1013,9 +1013,9 @@ "dev": true }, "vscode-test": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/vscode-test/-/vscode-test-0.4.1.tgz", - "integrity": "sha512-uIi/07uG/gmCbD9Y9bFpNzmk4el82xiclijEdL426A3jOFfvwdqgfmtuWYfxEGo0w6JY9EqVDTGQCXwuInXVTQ==", + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/vscode-test/-/vscode-test-0.4.2.tgz", + "integrity": "sha512-ZqSh1WNQ1It3SVLnuDMS3HmadM86k2dXvv4ZtdT6+ezxZ1NIQRTbE5SZroV0EvIf5KGjhYNbj5HHqUjBsGjV6Q==", "dev": true, "requires": { "http-proxy-agent": "^2.1.0", diff --git a/helloworld-test-sample/package.json b/helloworld-test-sample/package.json index 9ed8ef3d..f815f1b5 100644 --- a/helloworld-test-sample/package.json +++ b/helloworld-test-sample/package.json @@ -40,6 +40,6 @@ "source-map-support": "^0.5.12", "tslint": "^5.16.0", "typescript": "^3.4.5", - "vscode-test": "^0.4.1" + "vscode-test": "^0.4.2" } } diff --git a/helloworld-test-sample/src/test/runTest.ts b/helloworld-test-sample/src/test/runTest.ts index aa147c6c..474e6323 100644 --- a/helloworld-test-sample/src/test/runTest.ts +++ b/helloworld-test-sample/src/test/runTest.ts @@ -6,15 +6,12 @@ async function go() { try { const extensionPath = path.resolve(__dirname, '../../'); const testRunnerPath = path.resolve(__dirname, './suite'); - const testWorkspace = path.resolve(__dirname, '../../test/suite/fixture'); await runTests({ // The folder containing the Extension Manifest package.json extensionPath, // The path to test runner - testRunnerPath, - // The workspace to open on starting up VS Code - testWorkspace + testRunnerPath }); } catch (err) { console.error('Failed to run tests');