• Overview
@angular/core/testing

withModule

function
stable

API

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