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', () => {
|
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();
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fixture = TestBed.createComponent(MiddleCenteredComponent);
|
fixture = TestBed.createComponent(MiddleCenteredComponent);
|
||||||
component = fixture.componentInstance;
|
component = fixture.componentInstance;
|
||||||
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() { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
constructor() {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue