[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/testing/withModule [Back]  [Original]

withModule Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core/testing

withModule

function
stable

On this page

    arrow_upward_alt Back to the top

    API

    function withModule(moduleDef: TestModuleMetadata): InjectSetupWrapper;
    function withModule(moduleDef: TestModuleMetadata, fn: Function): () => any;
    function withModule(moduleDef: TestModuleMetadata, fn: Function): () => any;
    @parammoduleDefTestModuleMetadata
    @paramfnFunction
    @returns() => any
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page