The Wayback Machine - https://web.archive.org/web/20251105124931/https://angular.dev/api/core/testing/ModuleTeardownOptions
    • Overview
@angular/core/testing

ModuleTeardownOptions

interface
stable

Configures the test module teardown behavior in TestBed.

API

    
      interface ModuleTeardownOptions {}
    
    

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
HTTPS · web.archive.org
← Home