File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
packages/databricks-vscode/src/test Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11import path from "path" ;
22import os from "os" ;
33
4- import { runTests } from "@vscode/test-electron" ;
4+ import { downloadAndUnzipVSCode , runTests } from "@vscode/test-electron" ;
55
66async function main ( ) {
77 try {
@@ -13,8 +13,13 @@ async function main() {
1313 // Passed to --extensionTestsPath
1414 const extensionTestsPath = path . resolve ( __dirname , "./suite" ) ;
1515
16+ const vscodeExecutablePath = await downloadAndUnzipVSCode (
17+ process . env . VSCODE_TEST_VERSION || "stable"
18+ ) ;
19+
1620 // Download VS Code, unzip it and run the integration test
1721 await runTests ( {
22+ vscodeExecutablePath,
1823 extensionDevelopmentPath,
1924 extensionTestsPath,
2025 launchArgs : [ "--user-data-dir" , `${ os . tmpdir ( ) } ` ] ,
You can’t perform that action at this time.
0 commit comments