src/app/school/school.component.spec.ts
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SchoolComponent } from './school.component';
describe('SchoolComponent', () => {
let component: SchoolComponent;
let fixture: ComponentFixture<SchoolComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ SchoolComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SchoolComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});