withModule

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

可选. 默认值是 undefined.

返回值

(() => any) | InjectSetupWrapper