On this page
ModuleTeardownOptions
interface
Configures the test module teardown behavior in TestBed.
interface ModuleTeardownOptions {
  destroyAfterEach: boolean
  rethrowErrors?: boolean
}
   Properties
| Property | Description | 
|---|---|
destroyAfterEach: boolean | 
       Whether the test module should be destroyed after every test. Defaults to   | 
      
rethrowErrors?: boolean | 
       Whether errors during test module destruction should be re-thrown. Defaults to   | 
      
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v14.angular.io/api/core/testing/ModuleTeardownOptions