Skip to content

Commit

Permalink
fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nevio18324 committed Dec 24, 2024
1 parent dfe95dd commit 643258b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/team-management.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ describe('okr team-management', () => {
return true;
})
.then(() => {
expect(foundEsha).to.be.true;
expect(foundEsha).to.equal(true);
});
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { ConfidenceComponent } from './confidence.component';
import { HarnessLoader } from '@angular/cdk/testing';
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
import { checkInMetric } from '../../shared/testData';
import { MatSliderModule } from '@angular/material/slider';
import { CheckInMin } from '../../shared/types/model/CheckInMin';
Expand All @@ -13,7 +11,6 @@ import { By } from '@angular/platform-browser';
describe('ConfidenceComponent', () => {
let component: ConfidenceComponent;
let fixture: ComponentFixture<ConfidenceComponent>;
let loader: HarnessLoader;

beforeEach(() => {
TestBed.configureTestingModule({
Expand All @@ -25,7 +22,6 @@ describe('ConfidenceComponent', () => {

fixture = TestBed.createComponent(ConfidenceComponent);
component = fixture.componentInstance;
loader = TestbedHarnessEnvironment.loader(fixture);
component.checkIn = checkInMetric;
component.isEdit = true;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export class KeyResultFormComponent implements OnInit, OnDestroy {
return this.keyResult ? this.keyResult.id : null;
}

updateFormValidity() {}
updateFormValidity() {
// Implemented because of interface this comment is to satisfy the linter
}

getFullNameOfLoggedInUser() {
return this.getFullNameOfUser(this.userService.getCurrentUser());
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/app/shared/side-panel/side-panel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
Component,
ElementRef,
OnDestroy,
OnInit,
ViewChild
} from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
Expand All @@ -17,7 +16,7 @@ import { ConnectedPosition } from '@angular/cdk/overlay'; // ESM
styleUrls: ['./side-panel.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class SidePanelComponent implements OnInit, AfterContentInit, OnDestroy {
export class SidePanelComponent implements AfterContentInit, OnDestroy {
leaveKeys = ['Escape'];

right = '-100%';
Expand All @@ -38,8 +37,6 @@ export class SidePanelComponent implements OnInit, AfterContentInit, OnDestroy {
private cd: ChangeDetectorRef,
private route: ActivatedRoute) {}

ngOnInit(): void {}

ngAfterContentInit(): void {
document.body.classList.add('disable-scrolling');
this.right = '0';
Expand Down

0 comments on commit 643258b

Please sign in to comment.