W3cubDocs

/Angular

withModule

function

withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper

Parameters
moduleDef TestModuleMetadata
Returns

InjectSetupWrapper

withModule(moduleDef: TestModuleMetadata, fn: Function): () => any

Parameters
moduleDef TestModuleMetadata
fn Function
Returns

() => any

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/testing/withModule