src/app/housing/components/list/house-list.component.spec.ts
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NO_ERRORS_SCHEMA, EventEmitter } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HouseListComponent } from './house-list.component';
import { expect } from 'chai';
describe('HouseListComponent', () => {
let component: HouseListComponent;
let fixture: ComponentFixture<HouseListComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [FormsModule, ReactiveFormsModule],
declarations: [HouseListComponent],
schemas: [NO_ERRORS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(HouseListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('will be defined', () => {
expect(component).to.exist;
});
});