Fix eslint issues

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/14/head
trivernis 3 years ago
parent 2e2964fcba
commit 218f3bffb2
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,14 +1,14 @@
import { ComponentFixture, TestBed } from '@angular/core/testing'; import {ComponentFixture, TestBed} from "@angular/core/testing";
import { MiddleCenteredComponent } from './middle-centered.component'; import {MiddleCenteredComponent} from "./middle-centered.component";
describe('MiddleCenteredComponent', () => { describe("MiddleCenteredComponent", () => {
let component: MiddleCenteredComponent; let component: MiddleCenteredComponent;
let fixture: ComponentFixture<MiddleCenteredComponent>; let fixture: ComponentFixture<MiddleCenteredComponent>;
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
declarations: [ MiddleCenteredComponent ] declarations: [MiddleCenteredComponent]
}) })
.compileComponents(); .compileComponents();
}); });
@ -19,7 +19,7 @@ describe('MiddleCenteredComponent', () => {
fixture.detectChanges(); fixture.detectChanges();
}); });
it('should create', () => { it("should create", () => {
expect(component).toBeTruthy(); expect(component).toBeTruthy();
}); });
}); });

@ -1,16 +1,13 @@
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import {ChangeDetectionStrategy, Component} from "@angular/core";
@Component({ @Component({
selector: 'app-middle-centered', selector: "app-middle-centered",
templateUrl: './middle-centered.component.html', templateUrl: "./middle-centered.component.html",
styleUrls: ['./middle-centered.component.scss'], styleUrls: ["./middle-centered.component.scss"],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class MiddleCenteredComponent implements OnInit { export class MiddleCenteredComponent {
constructor() { } constructor() {
ngOnInit(): void {
} }
} }

Loading…
Cancel
Save