comparison src/app/simple-form/simple-form.component.spec.ts @ 1:44c99e3cb108

App skelton generated with angular-cli, as well as a few experiments (to be deleted).
author Lucas Thompson <dev@lucas.im>
date Tue, 25 Oct 2016 14:42:26 +0100
parents
children
comparison
equal deleted inserted replaced
0:340ce94899fd 1:44c99e3cb108
1 /* tslint:disable:no-unused-variable */
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { By } from '@angular/platform-browser';
4 import { DebugElement } from '@angular/core';
5
6 import { SimpleFormComponent } from './simple-form.component';
7
8 describe('SimpleFormComponent', () => {
9 let component: SimpleFormComponent;
10 let fixture: ComponentFixture<SimpleFormComponent>;
11
12 beforeEach(async(() => {
13 TestBed.configureTestingModule({
14 declarations: [ SimpleFormComponent ]
15 })
16 .compileComponents();
17 }));
18
19 beforeEach(() => {
20 fixture = TestBed.createComponent(SimpleFormComponent);
21 component = fixture.componentInstance;
22 fixture.detectChanges();
23 });
24
25 it('should create', () => {
26 expect(component).toBeTruthy();
27 });
28 });