withModule

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

参数

moduleDef

Type: TestModuleMetadata.

fn

Type: Function | null.

可选. 默认值是 undefined.

返回值

(() => any) | InjectSetupWrapper