withModule

From Get docs
< @angular/core‎ | testingAngular/docs/9/api/core/testing/withmodule /
Revision as of 02:31, 6 December 2021 by Notes (talk | contribs) (Page commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


withModule

function

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

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

(() => any) | InjectSetupWrapper


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