InjectSetupWrapper

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

构造函数

constructor(_moduleDef: () => TestModuleMetadata)

参数

_moduleDef

Type: () => TestModuleMetadata.

方法

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

参数

tokens

Type: any[].

fn

Type: Function.

返回值

() => any