Help Angular by taking a 1 minute survey!Go to surveyHome

withModule

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

Optional. Default is undefined.

Returns

(() => any) | InjectSetupWrapper