withModule

function

npm Package @angular/core
Module import { withModule } from '@angular/core/testing';
Source core/testing/src/test_bed.ts

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

Overloads

function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;

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

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