add extensionTestsPath to IWorkbenchConstructionOptions

This commit is contained in:
Martin Aeschlimann
2021-04-20 15:35:32 +02:00
parent d4a6400596
commit 5fa2193ba7
2 changed files with 8 additions and 0 deletions
@@ -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) {
+5
View File
@@ -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.