Configures the test module teardown behavior in TestBed.
API
interface ModuleTeardownOptions {
destroyAfterEach: boolean;
rethrowErrors?: boolean | undefined;
}
destroyAfterEach
booleanWhether the test module should be destroyed after every test. Defaults to true.
rethrowErrors
boolean | undefinedWhether errors during test module destruction should be re-thrown. Defaults to true.