converter/src/app/app.component.spec.ts

27 lines
686 B
TypeScript
Raw Normal View History

2017-04-15 19:04:49 +02:00
import {AppComponent} from './app.component';
import {ComponentFixture, TestBed} from '@angular/core/testing';
2017-04-15 19:04:49 +02:00
import {Step} from './step';
describe('AppComponent', () => {
let sut: AppComponent;
let fixture: ComponentFixture<AppComponent>;
const firstStep: Step = new Step(0);
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [AppComponent]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(AppComponent);
sut = fixture.componentInstance;
});
it('should create the app', () => {
2017-11-07 23:53:36 +01:00
// const fixture = TestBed.createComponent(AppComponent);
expect(sut).toBeTruthy();
});
});