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

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

ModuleTeardownOptions

interface
stable

Configures the test module teardown behavior in TestBed.

On this page

    arrow_upward_alt Back to the top

    API

        
          interface ModuleTeardownOptions {  destroyAfterEach: boolean;  rethrowErrors?: boolean | undefined;}
        
        

    destroyAfterEach

    boolean

    Whether the test module should be destroyed after every test. Defaults to true.

    rethrowErrors

    boolean | undefined

    Whether errors during test module destruction should be re-thrown. Defaults to true.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page