Skip to content

Commit a50fe4a

Browse files
committed
Fixup, test deps
1 parent f8cb00f commit a50fe4a

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

test/runTest.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
11
// tslint:disable: no-console
2-
import * as cp from 'child_process';
32
import * as fs from 'fs';
43
import * as path from 'path';
54

6-
import { downloadAndUnzipVSCode, resolveCliArgsFromVSCodeExecutablePath, runTests } from '@vscode/test-electron';
5+
import { downloadAndUnzipVSCode, runTests } from '@vscode/test-electron';
76

8-
function installExtension(vscodeExePath: string, extId: string) {
9-
const [cliPath, ...args] = resolveCliArgsFromVSCodeExecutablePath(vscodeExePath);
10-
cp.spawnSync(cliPath, [...args, '--install-extension', extId], {
11-
encoding: 'utf-8',
12-
stdio: 'inherit',
13-
});
14-
}
157

168
async function main() {
179
try {
1810
const vscodeExecutablePath = await downloadAndUnzipVSCode(
1911
'stable',
2012
process.platform === 'win32' ? 'win32-x64-archive' : undefined
2113
);
22-
23-
// We have to install this dependant extension
24-
// installExtension(vscodeExecutablePath, 'justusadam.language-haskell');
25-
14+
2615
// The folder containing the Extension Manifest package.json
2716
// Passed to `--extensionDevelopmentPath`
2817
const extensionDevelopmentPath = path.resolve(__dirname, '../../');

0 commit comments

Comments
 (0)