InjectSetupWrapper

class

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

Overview

class InjectSetupWrapper {
  constructor(_moduleDef: () => TestModuleMetadata)
  inject(tokens: any[], fn: Function): () => any
}

Constructor

constructor(_moduleDef: () => TestModuleMetadata)

Members

inject(tokens: any[], fn: Function): () => any

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