Unit tests fail sometimes b/c of an error in afterAll
Error
An error was thrown in afterAll
error properties: Object({ longStack: 'TypeError: Cannot read properties of undefined (reading 'name')
at NavBarComponent.setGroupProperties (http://localhost:9876/_karma_webpack_/webpack:/src/app/components/shared/bars/nav-bar/nav-bar.component.ts:449:33)
at NavBarComponent.setGroup (http://localhost:9876/_karma_webpack_/webpack:/src/app/components/shared/bars/nav-bar/nav-bar.component.ts:429:10)