diff --git a/frontend/src/app/team-management/okr-champion.pipe.spec.ts b/frontend/src/app/team-management/okr-champion.pipe.spec.ts index 335c9b93f4..3dd50b8fe7 100644 --- a/frontend/src/app/team-management/okr-champion.pipe.spec.ts +++ b/frontend/src/app/team-management/okr-champion.pipe.spec.ts @@ -5,7 +5,7 @@ describe('OkrChampionPipe', () => { instant: () => 'Ja', } as any; - it('create an instance', () => { + it('should create an instance', () => { const pipe = new OkrChampionPipe(translateMock); expect(pipe).toBeTruthy(); }); diff --git a/frontend/src/app/team-management/show-edit-role/show-edit-role.component.spec.ts b/frontend/src/app/team-management/show-edit-role/show-edit-role.component.spec.ts index 066a1fa945..b307e93066 100644 --- a/frontend/src/app/team-management/show-edit-role/show-edit-role.component.spec.ts +++ b/frontend/src/app/team-management/show-edit-role/show-edit-role.component.spec.ts @@ -28,13 +28,13 @@ describe('ShowEditRoleComponent', () => { expect(component).toBeTruthy(); }); - it('saveIsAdmin should set edit to false', () => { + it('should set edit to false using saveIsAdmin', () => { component.edit = true; component.saveIsAdmin(true); expect(component.edit).toBeFalsy(); }); - it('setEditAsync should set edit to given value', fakeAsync(() => { + it('should set edit to given value using setEditAsync', fakeAsync(() => { component.edit = false; const mouseEvent = { stopPropagation: () => undefined, diff --git a/frontend/src/app/team-management/team-management-mobile-filter/team-management-mobile-filter.component.spec.ts b/frontend/src/app/team-management/team-management-mobile-filter/team-management-mobile-filter.component.spec.ts index c9a70d11ac..2c1ccd3eda 100644 --- a/frontend/src/app/team-management/team-management-mobile-filter/team-management-mobile-filter.component.spec.ts +++ b/frontend/src/app/team-management/team-management-mobile-filter/team-management-mobile-filter.component.spec.ts @@ -94,13 +94,13 @@ describe('TeamManagementMobileFilterComponent', () => { expect(component.teams).toStrictEqual(teamList); })); - it('navigate should navigate to team ', () => { + it('should navigate to team ', () => { component.navigate(team1); expect(routerMock.navigateByUrl).toBeCalledTimes(1); expect(routerMock.navigateByUrl).toBeCalledWith(getRouteToTeam(team1.id)); }); - it('navigate should navigate to all teams ', () => { + it('should navigate to all teams ', () => { component.navigate(component.ALL_TEAMS); expect(routerMock.navigateByUrl).toBeCalledTimes(1); expect(routerMock.navigateByUrl).toBeCalledWith(getRouteToAllTeams()); diff --git a/frontend/src/app/team-management/team-role-dropdown/team-role-dropdown.component.spec.ts b/frontend/src/app/team-management/team-role-dropdown/team-role-dropdown.component.spec.ts index 3e3e654e1c..b63fbbdb2e 100644 --- a/frontend/src/app/team-management/team-role-dropdown/team-role-dropdown.component.spec.ts +++ b/frontend/src/app/team-management/team-role-dropdown/team-role-dropdown.component.spec.ts @@ -26,7 +26,7 @@ describe('TeamRoleDropdownComponent', () => { expect(component).toBeTruthy(); }); - it('component onInit should create formControl', () => { + it('should create formControl using onInit', () => { component.isAdmin = false; component.ngOnInit(); expect(JSON.stringify(component.adminControl)).toStrictEqual( @@ -34,7 +34,7 @@ describe('TeamRoleDropdownComponent', () => { ); }); - it('triggerIsAdminChange should submit next value', (done) => { + it('should submit next value using triggerIsAdminChange', (done) => { component.isAdminChange.pipe(takeLast(1)).subscribe((val) => { expect(val).toBeFalsy(); done();