mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
test(ObservablePipe): onDestroy shouldn't throw
This commit is contained in:
parent
ac510b67cc
commit
d61a0dfa22
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ export function main() {
|
|||
|
||||
describe("onDestroy", () => {
|
||||
it("should do nothing when no subscription", () => {
|
||||
pipe.onDestroy();
|
||||
expect(() => pipe.onDestroy()).not.toThrow();
|
||||
});
|
||||
|
||||
it("should dispose of the existing subscription", inject([AsyncTestCompleter], (async) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue