[ADF-2147] test upgrade 2.0.0 (#2902)

* add integration 2.0.0 test

* update readme

* add integration test in travis

* restore tsconfig.dev

* fix test script travis call

* improve script

* fix npm run test
This commit is contained in:
Eugenio Romano
2018-02-02 12:11:48 +00:00
committed by GitHub
parent e5c025aa35
commit 7693904be2
68 changed files with 1690 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AdfModule } from '../adf.module';
import { StartProcessComponent } from './start-process.component';
describe('StartProcessComponent', () => {
let component: StartProcessComponent;
let fixture: ComponentFixture<StartProcessComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule,
AdfModule
],
declarations: [ StartProcessComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(StartProcessComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});