angular / 5 / api / core / testing / withmodule.html

withModule

function

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

Overloads

function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;

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

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