Skip to content

Commit

Permalink
prettier write
Browse files Browse the repository at this point in the history
  • Loading branch information
bastyen authored and submarcos committed Jul 19, 2024
1 parent 07e4cd7 commit fda795d
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('ChangePasswordComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ChangePasswordComponent]
})
.compileComponents();
imports: [ChangePasswordComponent],
}).compileComponents();

fixture = TestBed.createComponent(ChangePasswordComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('CreateAccountComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [CreateAccountComponent]
})
.compileComponents();
imports: [CreateAccountComponent],
}).compileComponents();

fixture = TestBed.createComponent(CreateAccountComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('ForgetPasswordComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ForgetPasswordComponent]
})
.compileComponents();
imports: [ForgetPasswordComponent],
}).compileComponents();

fixture = TestBed.createComponent(ForgetPasswordComponent);
component = fixture.componentInstance;
Expand Down
4 changes: 2 additions & 2 deletions front-end/src/app/guards/auth.guard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({});
Expand Down
5 changes: 2 additions & 3 deletions front-end/src/app/home/home.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('HomeComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [HomeComponent]
})
.compileComponents();
imports: [HomeComponent],
}).compileComponents();

fixture = TestBed.createComponent(HomeComponent);
component = fixture.componentInstance;
Expand Down
5 changes: 2 additions & 3 deletions front-end/src/app/login/login.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('LoginComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [LoginComponent]
})
.compileComponents();
imports: [LoginComponent],
}).compileComponents();

fixture = TestBed.createComponent(LoginComponent);
component = fixture.componentInstance;
Expand Down
5 changes: 2 additions & 3 deletions front-end/src/app/my-account/my-account.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('MyAccountComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MyAccountComponent]
})
.compileComponents();
imports: [MyAccountComponent],
}).compileComponents();

fixture = TestBed.createComponent(MyAccountComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('MyObservationsComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MyObservationsComponent]
})
.compileComponents();
imports: [MyObservationsComponent],
}).compileComponents();

fixture = TestBed.createComponent(MyObservationsComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('MyOfflineDataComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MyOfflineDataComponent]
})
.compileComponents();
imports: [MyOfflineDataComponent],
}).compileComponents();

fixture = TestBed.createComponent(MyOfflineDataComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('NewObservationComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [NewObservationComponent]
})
.compileComponents();
imports: [NewObservationComponent],
}).compileComponents();

fixture = TestBed.createComponent(NewObservationComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('ObservationDetailComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ObservationDetailComponent]
})
.compileComponents();
imports: [ObservationDetailComponent],
}).compileComponents();

fixture = TestBed.createComponent(ObservationDetailComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('SynthesisInterfaceComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [SynthesisInterfaceComponent]
})
.compileComponents();
imports: [SynthesisInterfaceComponent],
}).compileComponents();

fixture = TestBed.createComponent(SynthesisInterfaceComponent);
component = fixture.componentInstance;
Expand Down

0 comments on commit fda795d

Please sign in to comment.