◐ Shell
clean mode source ↗

withModule • Angular

@angular/core/testing

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