InjectSetupWrapper

class

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

Constructor

constructor(_moduleDef: () => TestModuleMetadata)

Parameters

_moduleDef

Type: () => TestModuleMetadata.

Methods

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

Parameters

tokens

Type: any[].

fn

Type: Function.

Returns

() => any

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