diff --git a/packages/modules/packages/module/packages/locator/src/ModuleFactoryLocator.ts b/packages/modules/packages/module/packages/locator/src/ModuleFactoryLocator.ts index 17d64294be..b071782407 100644 --- a/packages/modules/packages/module/packages/locator/src/ModuleFactoryLocator.ts +++ b/packages/modules/packages/module/packages/locator/src/ModuleFactoryLocator.ts @@ -27,6 +27,14 @@ export class ModuleFactoryLocator { return this._registry } + static empty() { + return new ModuleFactoryLocator({}) + } + + static standard() { + return new ModuleFactoryLocator(standardCreatableFactories()) + } + freeze() { this._frozen = true }