mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
* 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
32 lines
850 B
TypeScript
32 lines
850 B
TypeScript
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();
|
|
});
|
|
});
|