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', () => { describe('DatepickerComponent', () => {
let component: DatepickerComponent; let component: DatepickerComponent;
let fixture: ComponentFixture<DatepickerComponent>; let fixture: ComponentFixture<DatepickerComponent>;
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
declarations: [ DatepickerComponent ] declarations: [DatepickerComponent]
}) })
.compileComponents(); .compileComponents();
}); });
beforeEach(() => { beforeEach(() => {
fixture = TestBed.createComponent(DatepickerComponent); fixture = TestBed.createComponent(DatepickerComponent);
component = fixture.componentInstance; component = fixture.componentInstance;
fixture.detectChanges(); fixture.detectChanges();
}); });
it('should create', () => { it('should create', () => {
expect(component).toBeTruthy(); 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', () => { describe('EventDetailComponent', () => {
let component: EventDetailComponent; let component: EventDetailComponent;
let fixture: ComponentFixture<EventDetailComponent>; let fixture: ComponentFixture<EventDetailComponent>;
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
declarations: [ EventDetailComponent ] declarations: [EventDetailComponent]
}) })
.compileComponents(); .compileComponents();
}); });
beforeEach(() => { beforeEach(() => {
fixture = TestBed.createComponent(EventDetailComponent); fixture = TestBed.createComponent(EventDetailComponent);
component = fixture.componentInstance; component = fixture.componentInstance;
fixture.detectChanges(); fixture.detectChanges();
}); });
it('should create', () => { it('should create', () => {
expect(component).toBeTruthy(); expect(component).toBeTruthy();
}); });
}); });

View File

@ -1,15 +1,16 @@
import { Component, OnInit } from '@angular/core'; import {Component, OnInit} from '@angular/core';
@Component({ @Component({
selector: 'app-event-detail', selector: 'app-event-detail',
templateUrl: './event-detail.component.html', templateUrl: './event-detail.component.html',
styleUrls: ['./event-detail.component.css'] styleUrls: ['./event-detail.component.css']
}) })
export class EventDetailComponent implements OnInit { 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', () => { describe('ApiService', () => {
let service: ApiService; let service: ApiService;
beforeEach(() => { beforeEach(() => {
TestBed.configureTestingModule({}); TestBed.configureTestingModule({});
service = TestBed.inject(ApiService); service = TestBed.inject(ApiService);
}); });
it('should be created', () => { it('should be created', () => {
expect(service).toBeTruthy(); expect(service).toBeTruthy();
}); });
}); });