Add driver option to IWorkbenchConstructionOptions

This commit is contained in:
Daniel Imms
2019-08-13 09:32:00 -07:00
parent ff0d0e3d66
commit e89abca441
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -83,6 +83,11 @@ class CodeRendererMain extends Disposable {
}));
this._register(workbench.onShutdown(() => this.dispose()));
// Driver
if (this.configuration.driver) {
registerWindowDriver();
}
// Startup
workbench.startup();
}
+5
View File
@@ -48,6 +48,11 @@ export interface IWorkbenchConstructionOptions {
* A factory for web sockets.
*/
webSocketFactory?: IWebSocketFactory;
/**
* Experimental: Whether to enable the smoke test driver.
*/
driver?: boolean;
}
/**