Reformatting

This commit is contained in:
Patrick Müller 2021-09-30 13:26:06 +02:00
parent 1ce1f1875a
commit 7a2f03c241
4 changed files with 54 additions and 53 deletions

View File

@ -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<DatepickerComponent>;
let component: DatepickerComponent;
let fixture: ComponentFixture<DatepickerComponent>;
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();
});
});

View File

@ -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<EventDetailComponent>;
let component: EventDetailComponent;
let fixture: ComponentFixture<EventDetailComponent>;
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();
});
});

View File

@ -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 {
}
}

View File

@ -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();
});
});