mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-21 00:42:58 +01:00
Add driver option to IWorkbenchConstructionOptions
This commit is contained in:
@@ -83,6 +83,11 @@ class CodeRendererMain extends Disposable {
|
||||
}));
|
||||
this._register(workbench.onShutdown(() => this.dispose()));
|
||||
|
||||
// Driver
|
||||
if (this.configuration.driver) {
|
||||
registerWindowDriver();
|
||||
}
|
||||
|
||||
// Startup
|
||||
workbench.startup();
|
||||
}
|
||||
|
||||
@@ -48,6 +48,11 @@ export interface IWorkbenchConstructionOptions {
|
||||
* A factory for web sockets.
|
||||
*/
|
||||
webSocketFactory?: IWebSocketFactory;
|
||||
|
||||
/**
|
||||
* Experimental: Whether to enable the smoke test driver.
|
||||
*/
|
||||
driver?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user