arranbartish/angular-cli-widgets

View on GitHub
projects/angular-cli-widgets-components/src/lib/tek-form-input/tek-form-input.component.spec.ts

Summary

Maintainability
B
6 hrs
Test Coverage
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { TekFormInputComponent } from './tek-form-input.component';
import {expect} from 'chai';

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

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ TekFormInputComponent ],
      schemas: [NO_ERRORS_SCHEMA]
    })
    .compileComponents();
  }));

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

  it('should create', () => {
    expect(component).to.be.ok;
  });
});