mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Pass the argument to the VS Code executable, instead of a chrome driver.
This commit is contained in:
parent
96869f5742
commit
1f1e1ec7c9
|
@ -24,7 +24,7 @@ export async function testExtensions() {
|
||||||
let extensions: Extensions;
|
let extensions: Extensions;
|
||||||
|
|
||||||
beforeEach(async function () {
|
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);
|
common = new CommonActions(app);
|
||||||
extensions = new Extensions(app, common);
|
extensions = new Extensions(app, common);
|
||||||
await common.removeDirectory(EXTENSIONS_DIR);
|
await common.removeDirectory(EXTENSIONS_DIR);
|
||||||
|
|
Loading…
Reference in a new issue