parent
2e2964fcba
commit
218f3bffb2
@ -1,25 +1,25 @@
|
||||
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', () => {
|
||||
let component: MiddleCenteredComponent;
|
||||
let fixture: ComponentFixture<MiddleCenteredComponent>;
|
||||
describe("MiddleCenteredComponent", () => {
|
||||
let component: MiddleCenteredComponent;
|
||||
let fixture: ComponentFixture<MiddleCenteredComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ MiddleCenteredComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [MiddleCenteredComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(MiddleCenteredComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(MiddleCenteredComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
it("should create", () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
@ -1,16 +1,13 @@
|
||||
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
|
||||
import {ChangeDetectionStrategy, Component} from "@angular/core";
|
||||
|
||||
@Component({
|
||||
selector: 'app-middle-centered',
|
||||
templateUrl: './middle-centered.component.html',
|
||||
styleUrls: ['./middle-centered.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
selector: "app-middle-centered",
|
||||
templateUrl: "./middle-centered.component.html",
|
||||
styleUrls: ["./middle-centered.component.scss"],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class MiddleCenteredComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
export class MiddleCenteredComponent {
|
||||
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue