From fda795d50f0a10adc63d63affe8219e00d4d1099 Mon Sep 17 00:00:00 2001 From: Bastyen Date: Tue, 25 Jun 2024 11:20:46 +0200 Subject: [PATCH] prettier write --- .../app/change-password/change-password.component.spec.ts | 5 ++--- .../src/app/create-account/create-account.component.spec.ts | 5 ++--- .../app/forget-password/forget-password.component.spec.ts | 5 ++--- front-end/src/app/guards/auth.guard.spec.ts | 4 ++-- front-end/src/app/home/home.component.spec.ts | 5 ++--- front-end/src/app/login/login.component.spec.ts | 5 ++--- front-end/src/app/my-account/my-account.component.spec.ts | 5 ++--- .../app/my-observations/my-observations.component.spec.ts | 5 ++--- .../src/app/my-observations/my-observations.component.ts | 6 ++---- .../app/my-offline-data/my-offline-data.component.spec.ts | 5 ++--- .../app/new-observation/new-observation.component.spec.ts | 5 ++--- .../observation-detail/observation-detail.component.spec.ts | 5 ++--- .../app/observation-detail/observation-detail.component.ts | 6 ++---- .../synthesis-interface.component.spec.ts | 5 ++--- 14 files changed, 28 insertions(+), 43 deletions(-) diff --git a/front-end/src/app/change-password/change-password.component.spec.ts b/front-end/src/app/change-password/change-password.component.spec.ts index dde28fb..2ecf143 100644 --- a/front-end/src/app/change-password/change-password.component.spec.ts +++ b/front-end/src/app/change-password/change-password.component.spec.ts @@ -8,9 +8,8 @@ describe('ChangePasswordComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [ChangePasswordComponent] - }) - .compileComponents(); + imports: [ChangePasswordComponent], + }).compileComponents(); fixture = TestBed.createComponent(ChangePasswordComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/create-account/create-account.component.spec.ts b/front-end/src/app/create-account/create-account.component.spec.ts index b473c88..350afda 100644 --- a/front-end/src/app/create-account/create-account.component.spec.ts +++ b/front-end/src/app/create-account/create-account.component.spec.ts @@ -8,9 +8,8 @@ describe('CreateAccountComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [CreateAccountComponent] - }) - .compileComponents(); + imports: [CreateAccountComponent], + }).compileComponents(); fixture = TestBed.createComponent(CreateAccountComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/forget-password/forget-password.component.spec.ts b/front-end/src/app/forget-password/forget-password.component.spec.ts index cf5d856..48eb807 100644 --- a/front-end/src/app/forget-password/forget-password.component.spec.ts +++ b/front-end/src/app/forget-password/forget-password.component.spec.ts @@ -8,9 +8,8 @@ describe('ForgetPasswordComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [ForgetPasswordComponent] - }) - .compileComponents(); + imports: [ForgetPasswordComponent], + }).compileComponents(); fixture = TestBed.createComponent(ForgetPasswordComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/guards/auth.guard.spec.ts b/front-end/src/app/guards/auth.guard.spec.ts index 4ae275e..f1ada9d 100644 --- a/front-end/src/app/guards/auth.guard.spec.ts +++ b/front-end/src/app/guards/auth.guard.spec.ts @@ -4,8 +4,8 @@ import { CanActivateFn } from '@angular/router'; import { authGuard } from './auth.guard'; describe('authGuard', () => { - const executeGuard: CanActivateFn = (...guardParameters) => - TestBed.runInInjectionContext(() => authGuard(...guardParameters)); + const executeGuard: CanActivateFn = (...guardParameters) => + TestBed.runInInjectionContext(() => authGuard(...guardParameters)); beforeEach(() => { TestBed.configureTestingModule({}); diff --git a/front-end/src/app/home/home.component.spec.ts b/front-end/src/app/home/home.component.spec.ts index 1191557..7737f1c 100644 --- a/front-end/src/app/home/home.component.spec.ts +++ b/front-end/src/app/home/home.component.spec.ts @@ -8,9 +8,8 @@ describe('HomeComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [HomeComponent] - }) - .compileComponents(); + imports: [HomeComponent], + }).compileComponents(); fixture = TestBed.createComponent(HomeComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/login/login.component.spec.ts b/front-end/src/app/login/login.component.spec.ts index 18f3685..251a67f 100644 --- a/front-end/src/app/login/login.component.spec.ts +++ b/front-end/src/app/login/login.component.spec.ts @@ -8,9 +8,8 @@ describe('LoginComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [LoginComponent] - }) - .compileComponents(); + imports: [LoginComponent], + }).compileComponents(); fixture = TestBed.createComponent(LoginComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/my-account/my-account.component.spec.ts b/front-end/src/app/my-account/my-account.component.spec.ts index f59b2b3..67a5442 100644 --- a/front-end/src/app/my-account/my-account.component.spec.ts +++ b/front-end/src/app/my-account/my-account.component.spec.ts @@ -8,9 +8,8 @@ describe('MyAccountComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [MyAccountComponent] - }) - .compileComponents(); + imports: [MyAccountComponent], + }).compileComponents(); fixture = TestBed.createComponent(MyAccountComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/my-observations/my-observations.component.spec.ts b/front-end/src/app/my-observations/my-observations.component.spec.ts index 886d932..b7ec3d8 100644 --- a/front-end/src/app/my-observations/my-observations.component.spec.ts +++ b/front-end/src/app/my-observations/my-observations.component.spec.ts @@ -8,9 +8,8 @@ describe('MyObservationsComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [MyObservationsComponent] - }) - .compileComponents(); + imports: [MyObservationsComponent], + }).compileComponents(); fixture = TestBed.createComponent(MyObservationsComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/my-observations/my-observations.component.ts b/front-end/src/app/my-observations/my-observations.component.ts index d367d91..8640524 100644 --- a/front-end/src/app/my-observations/my-observations.component.ts +++ b/front-end/src/app/my-observations/my-observations.component.ts @@ -5,8 +5,6 @@ import { Component } from '@angular/core'; standalone: true, imports: [], templateUrl: './my-observations.component.html', - styleUrl: './my-observations.component.scss' + styleUrl: './my-observations.component.scss', }) -export class MyObservationsComponent { - -} +export class MyObservationsComponent {} diff --git a/front-end/src/app/my-offline-data/my-offline-data.component.spec.ts b/front-end/src/app/my-offline-data/my-offline-data.component.spec.ts index f131728..41d4c49 100644 --- a/front-end/src/app/my-offline-data/my-offline-data.component.spec.ts +++ b/front-end/src/app/my-offline-data/my-offline-data.component.spec.ts @@ -8,9 +8,8 @@ describe('MyOfflineDataComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [MyOfflineDataComponent] - }) - .compileComponents(); + imports: [MyOfflineDataComponent], + }).compileComponents(); fixture = TestBed.createComponent(MyOfflineDataComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/new-observation/new-observation.component.spec.ts b/front-end/src/app/new-observation/new-observation.component.spec.ts index 3a039c6..1653e62 100644 --- a/front-end/src/app/new-observation/new-observation.component.spec.ts +++ b/front-end/src/app/new-observation/new-observation.component.spec.ts @@ -8,9 +8,8 @@ describe('NewObservationComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [NewObservationComponent] - }) - .compileComponents(); + imports: [NewObservationComponent], + }).compileComponents(); fixture = TestBed.createComponent(NewObservationComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/observation-detail/observation-detail.component.spec.ts b/front-end/src/app/observation-detail/observation-detail.component.spec.ts index 416e992..580a05b 100644 --- a/front-end/src/app/observation-detail/observation-detail.component.spec.ts +++ b/front-end/src/app/observation-detail/observation-detail.component.spec.ts @@ -8,9 +8,8 @@ describe('ObservationDetailComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [ObservationDetailComponent] - }) - .compileComponents(); + imports: [ObservationDetailComponent], + }).compileComponents(); fixture = TestBed.createComponent(ObservationDetailComponent); component = fixture.componentInstance; diff --git a/front-end/src/app/observation-detail/observation-detail.component.ts b/front-end/src/app/observation-detail/observation-detail.component.ts index 6b77c78..791de93 100644 --- a/front-end/src/app/observation-detail/observation-detail.component.ts +++ b/front-end/src/app/observation-detail/observation-detail.component.ts @@ -5,8 +5,6 @@ import { Component } from '@angular/core'; standalone: true, imports: [], templateUrl: './observation-detail.component.html', - styleUrl: './observation-detail.component.scss' + styleUrl: './observation-detail.component.scss', }) -export class ObservationDetailComponent { - -} +export class ObservationDetailComponent {} diff --git a/front-end/src/app/synthesis-interface/synthesis-interface.component.spec.ts b/front-end/src/app/synthesis-interface/synthesis-interface.component.spec.ts index fa8c1dc..05b4fd0 100644 --- a/front-end/src/app/synthesis-interface/synthesis-interface.component.spec.ts +++ b/front-end/src/app/synthesis-interface/synthesis-interface.component.spec.ts @@ -8,9 +8,8 @@ describe('SynthesisInterfaceComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [SynthesisInterfaceComponent] - }) - .compileComponents(); + imports: [SynthesisInterfaceComponent], + }).compileComponents(); fixture = TestBed.createComponent(SynthesisInterfaceComponent); component = fixture.componentInstance;