arranbartish/angular-cli-seed

View on GitHub
src/app/car/components/list/car-list.component.spec.ts

Summary

Maintainability
B
6 hrs
Test Coverage
import { expect } from 'chai';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CarListComponent } from './car-list.component';

describe('CarListComponent', () => {
  let component: CarListComponent;
  let fixture: ComponentFixture<CarListComponent>;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ CarListComponent ]
    })
    .compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(CarListComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('will be defined', () => {
    expect(component).to.exist;
  });

});