Added a first simple test.

That serves as a proof-of-concept and as a template for future tests.
It's a start!
This commit is contained in:
Manuel Friedli 2017-03-15 02:22:24 +01:00
parent f3b5a7580a
commit 77a79bf588
7 changed files with 139 additions and 2 deletions

View file

@ -0,0 +1,16 @@
import {TestBed} from "@angular/core/testing";
import {AppComponent} from "./app.component";
import {FormsModule} from "@angular/forms";
describe('App', () => {
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [AppComponent],
imports: [FormsModule]
});
});
it('should work', () => {
let fixture = TestBed.createComponent(AppComponent);
expect(fixture.componentInstance instanceof AppComponent).toBe(true, 'should create AppComponent');
});
});

View file

@ -4,7 +4,6 @@ import {InputComponentManagerService} from "./inputcomponentmanager.service";
import {Converter} from "./converter/converter";
import {NativeLibraryWrapperService} from "./nativelibrarywrapper.service";
import {Step} from "./step";
import "../assets/css/style.css";
@Component({