mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The internal error handler in TestBed rethrows errors to prevent them from being silently ignored in tests. Prior to this commit, tests which used `provideZoneChangeDetection` in the providers would override the internal error handler of TestBed and prevent these errors from being rethrown. BREAKING CHANGE: (test only) - Using `provideZoneChangeDetection` in the TestBed providers would previously prevent `TestBed` from rethrowing errors as it should. Errors in the test will now be rethrown, regardless of the usage of `provideZoneChangeDetection`. Tests should be adjusted to prevent or account for these errors. As in previous major versions, this behavior can be disabled with `rethrowApplicationErrors: false` in `configureTestingModule` as a last resort. PR Close #63404 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| output_from_observable_spec.ts | ||
| output_to_observable_spec.ts | ||
| pending_until_event_spec.ts | ||
| rx_resource_spec.ts | ||
| take_until_destroyed_spec.ts | ||
| to_observable_spec.ts | ||
| to_signal_spec.ts | ||