mode_edit codeAPI / @angular/core/testingwithModulelinkfunction 稳定withModule(moduleDef: TestModuleMetadata, fn?: Function | null): (() => any) | InjectSetupWrapper参数moduleDefType: TestModuleMetadata.fnType: Function | null.可选. 默认值是 undefined.返回值(() => any) | InjectSetupWrapper