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
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%