From 7a2f03c241e3d242c2fd32bbbbdc0ec9be4ab076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Thu, 30 Sep 2021 13:26:06 +0200 Subject: [PATCH] Reformatting --- .../datepicker/datepicker.component.spec.ts | 36 +++++++++---------- .../event-detail.component.spec.ts | 36 +++++++++---------- .../event-detail/event-detail.component.ts | 15 ++++---- .../src/app/services/api/api.service.spec.ts | 20 +++++------ 4 files changed, 54 insertions(+), 53 deletions(-) diff --git a/Frontend/src/app/components/datepicker/datepicker.component.spec.ts b/Frontend/src/app/components/datepicker/datepicker.component.spec.ts index 5b28862..7466b31 100644 --- a/Frontend/src/app/components/datepicker/datepicker.component.spec.ts +++ b/Frontend/src/app/components/datepicker/datepicker.component.spec.ts @@ -1,25 +1,25 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; +import {ComponentFixture, TestBed} from '@angular/core/testing'; -import { DatepickerComponent } from './datepicker.component'; +import {DatepickerComponent} from './datepicker.component'; describe('DatepickerComponent', () => { - let component: DatepickerComponent; - let fixture: ComponentFixture; + let component: DatepickerComponent; + let fixture: ComponentFixture; - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ DatepickerComponent ] - }) - .compileComponents(); - }); + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [DatepickerComponent] + }) + .compileComponents(); + }); - beforeEach(() => { - fixture = TestBed.createComponent(DatepickerComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); + beforeEach(() => { + fixture = TestBed.createComponent(DatepickerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); - it('should create', () => { - expect(component).toBeTruthy(); - }); + it('should create', () => { + expect(component).toBeTruthy(); + }); }); diff --git a/Frontend/src/app/components/event-detail/event-detail.component.spec.ts b/Frontend/src/app/components/event-detail/event-detail.component.spec.ts index d517c4f..e84eb16 100644 --- a/Frontend/src/app/components/event-detail/event-detail.component.spec.ts +++ b/Frontend/src/app/components/event-detail/event-detail.component.spec.ts @@ -1,25 +1,25 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; +import {ComponentFixture, TestBed} from '@angular/core/testing'; -import { EventDetailComponent } from './event-detail.component'; +import {EventDetailComponent} from './event-detail.component'; describe('EventDetailComponent', () => { - let component: EventDetailComponent; - let fixture: ComponentFixture; + let component: EventDetailComponent; + let fixture: ComponentFixture; - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ EventDetailComponent ] - }) - .compileComponents(); - }); + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [EventDetailComponent] + }) + .compileComponents(); + }); - beforeEach(() => { - fixture = TestBed.createComponent(EventDetailComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); + beforeEach(() => { + fixture = TestBed.createComponent(EventDetailComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); - it('should create', () => { - expect(component).toBeTruthy(); - }); + it('should create', () => { + expect(component).toBeTruthy(); + }); }); diff --git a/Frontend/src/app/components/event-detail/event-detail.component.ts b/Frontend/src/app/components/event-detail/event-detail.component.ts index 59e8402..b1722be 100644 --- a/Frontend/src/app/components/event-detail/event-detail.component.ts +++ b/Frontend/src/app/components/event-detail/event-detail.component.ts @@ -1,15 +1,16 @@ -import { Component, OnInit } from '@angular/core'; +import {Component, OnInit} from '@angular/core'; @Component({ - selector: 'app-event-detail', - templateUrl: './event-detail.component.html', - styleUrls: ['./event-detail.component.css'] + selector: 'app-event-detail', + templateUrl: './event-detail.component.html', + styleUrls: ['./event-detail.component.css'] }) export class EventDetailComponent implements OnInit { - constructor() { } + constructor() { + } - ngOnInit(): void { - } + ngOnInit(): void { + } } diff --git a/Frontend/src/app/services/api/api.service.spec.ts b/Frontend/src/app/services/api/api.service.spec.ts index c0310ae..5a7954c 100644 --- a/Frontend/src/app/services/api/api.service.spec.ts +++ b/Frontend/src/app/services/api/api.service.spec.ts @@ -1,16 +1,16 @@ -import { TestBed } from '@angular/core/testing'; +import {TestBed} from '@angular/core/testing'; -import { ApiService } from './api.service'; +import {ApiService} from './api.service'; describe('ApiService', () => { - let service: ApiService; + let service: ApiService; - beforeEach(() => { - TestBed.configureTestingModule({}); - service = TestBed.inject(ApiService); - }); + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(ApiService); + }); - it('should be created', () => { - expect(service).toBeTruthy(); - }); + it('should be created', () => { + expect(service).toBeTruthy(); + }); });