Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/databricks-vscode/src/test/runTest.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from "path";
import os from "os";

import {runTests} from "@vscode/test-electron";
import {downloadAndUnzipVSCode, runTests} from "@vscode/test-electron";

async function main() {
try {
Expand All @@ -13,8 +13,13 @@ async function main() {
// Passed to --extensionTestsPath
const extensionTestsPath = path.resolve(__dirname, "./suite");

const vscodeExecutablePath = await downloadAndUnzipVSCode(
process.env.VSCODE_TEST_VERSION || "stable"
);

// Download VS Code, unzip it and run the integration test
await runTests({
vscodeExecutablePath,
extensionDevelopmentPath,
extensionTestsPath,
launchArgs: ["--user-data-dir", `${os.tmpdir()}`],
Expand Down