InjectSetupWrapper

class

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

Constructor

constructor(_moduleDef: () => TestModuleMetadata)

Parameters
_moduleDef () => TestModuleMetadata

Methods

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

Parameters
tokens any[]
fn Function
Returns

() => any

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