diff --git a/src/test/runLegacyTest.ts b/src/test/runLegacyTest.ts deleted file mode 100644 index 240ddcd..0000000 --- a/src/test/runLegacyTest.ts +++ /dev/null @@ -1,33 +0,0 @@ - -/* -import * as path from 'path'; -import { - runTests, - downloadAndUnzipVSCode -} from 'vscode-test'; - -async function main() { - const extensionDevelopmentPath = path.resolve(__dirname, '../../'); - const extensionTestsPath = path.resolve(__dirname, './suite/index'); - - // legacy version test - // v1.18.0 -> NG: ENOENT error - // v1.30.0 -> NG: vscode process does not exit - // v1.35.0 -> NG: vscode process does not exit - const vscodeExecutablePath = await downloadAndUnzipVSCode('1.40.0'); - try { - await runTests({ - vscodeExecutablePath, - extensionDevelopmentPath, - extensionTestsPath, - launchArgs: ['--disable-extensions'] - }); - } catch (err) { - console.log(err); - console.error('Failed to run tests'); - process.exit(1); - } -} - -main(); -*/