mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-20 07:09:53 +01:00
add extensionTestsPath to IWorkbenchConstructionOptions
This commit is contained in:
@@ -290,6 +290,9 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
|
||||
extensionHostDebugEnvironment.isExtensionDevelopment = true;
|
||||
}
|
||||
}
|
||||
if (this.options.extensionTestsPath) {
|
||||
extensionHostDebugEnvironment.extensionTestsLocationURI = URI.revive(this.options.extensionTestsPath);
|
||||
}
|
||||
|
||||
// Fill in selected extra environmental properties
|
||||
if (this.payload) {
|
||||
|
||||
@@ -321,6 +321,11 @@ interface IWorkbenchConstructionOptions {
|
||||
*/
|
||||
readonly staticExtensions?: ReadonlyArray<IStaticExtension>;
|
||||
|
||||
/**
|
||||
* Location of a module containing extension tests to run once the workbench is open.
|
||||
*/
|
||||
readonly extensionTestsPath?: URI;
|
||||
|
||||
/**
|
||||
* [TEMPORARY]: This will be removed soon.
|
||||
* Enable inlined extensions.
|
||||
|
||||
Reference in New Issue
Block a user