79220: Fix edit group navigation bug

This commit is contained in:
Bruno Roemers
2021-05-04 11:46:04 +02:00
parent eb3cd85680
commit 042afd9bb8
2 changed files with 8 additions and 1 deletions

View File

@@ -210,4 +210,11 @@ describe('GroupFormComponent', () => {
});
});
describe('ngOnDestroy', () => {
it('does NOT call router.navigate', () => {
component.ngOnDestroy();
expect(router.navigate).toHaveBeenCalledTimes(0);
});
});
});