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. |
rethrowErrors?: boolean |
Whether errors during test module destruction should be re-thrown. Defaults to |
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v13.angular.io/api/core/testing/ModuleTeardownOptions