填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

withModule

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

可选. 默认值是 undefined.

返回值

(() => any) | InjectSetupWrapper