mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, some spies in `DovViewerComponent` tests would return the same `of(undefined)` observable for all invocations of the spy in a test. While there is usually only one invocation per spy in each test, this is not always the case. In case of multiple invocations within the same test, subsequent calls would return an already completed observable, which deviates from the actual behavior of the spied function. This commit fixes it by ensuring a fresh `of(undefined)` observable is returned on each invocation. PR Close #32980 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| extra-files | ||
| styles | ||
| testing | ||
| 404-body.html | ||
| google385281288605d160.html | ||
| index.html | ||
| main.ts | ||
| noop-worker-basic.js | ||
| polyfills.ts | ||
| pwa-manifest.json | ||
| styles.scss | ||
| test.ts | ||
| typings.d.ts | ||