Pass the argument to the VS Code executable, instead of a chrome driver.

This commit is contained in:
Michel Kaporin 2017-06-07 17:07:12 +02:00
parent 96869f5742
commit 1f1e1ec7c9

View file

@ -24,7 +24,7 @@ export async function testExtensions() {
let extensions: Extensions;
beforeEach(async function () {
app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [WORKSPACE_PATH], [`--extensions-dir=${EXTENSIONS_DIR}`]);
app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [WORKSPACE_PATH, `--extensions-dir=${EXTENSIONS_DIR}`]);
common = new CommonActions(app);
extensions = new Extensions(app, common);
await common.removeDirectory(EXTENSIONS_DIR);