withModule

From Get docs
< @angular/core‎ | testingAngular/docs/11/api/core/testing/withmodule


withModule

function

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

Parameters
moduleDef TestModuleMetadata
fn Function Optional. Default is undefined.
Returns

(() => any) | InjectSetupWrapper


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