Visitar URL original
withModule • Angular
The Wayback Machine - https://web.archive.org/web/20260607143716/https://angular.dev/api/core/testing/withModule
    • Overview
@angular/core/testing

withModule

function
stable

API

function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;
function withModule(moduleDef: TestModuleMetadata, fn: Function): () => any;
function withModule(moduleDef: TestModuleMetadata, fn: Function): () => any;
@parammoduleDefTestModuleMetadata
@paramfnFunction
@returns() => any
Jump to details