mirror of
https://github.com/Silverquark/dance.git
synced 2024-08-16 22:30:55 +03:00
21 lines
434 B
TypeScript
21 lines
434 B
TypeScript
import * as path from "path";
|
|
|
|
import { runTests } from "@vscode/test-electron";
|
|
|
|
async function go() {
|
|
try {
|
|
const extensionDevelopmentPath = path.resolve(__dirname, "../..");
|
|
const extensionTestsPath = path.resolve(__dirname, "./suite");
|
|
|
|
await runTests({
|
|
extensionDevelopmentPath,
|
|
extensionTestsPath,
|
|
launchArgs: ["--disable-extensions"],
|
|
});
|
|
} catch (err) {
|
|
process.exit(1);
|
|
}
|
|
}
|
|
|
|
go();
|