fix random test failing part 2 (#3395)

* fix random failing test core search/comment/auth/user

* fix node delete directive

* fix lint issues

* node restore fix

* fix comment test

* remove fdescribe

* fix tests and tslint

* fix upload test

* unsubscribe success event task test

* copy comment object during test

* use the data pipe performance improvement and standard usage

* uncomment random test

* fix comment date random failing test

* disposable unsubscribe

* fix start process

* remove fdescribe

* change start process test and remove commented code

* fix error event check double click

* clone object form test

* refactor date time test

* fix service mock

* fix test dropdown and context

* git hook lint

* fix language test

* unsubscribe documentlist event test

* fix disposable error

* fix console log service error document list

* unusbscribe search test

* clear input field

* remove wrong test
This commit is contained in:
Eugenio Romano
2018-05-29 11:18:17 +02:00
committed by Denys Vuika
parent 22006395c7
commit eb0f91c5db
43 changed files with 4475 additions and 4332 deletions

View File

@@ -21,7 +21,6 @@ import { Observable } from 'rxjs/Observable';
import { startTaskMock } from '../../mock';
import { StartTaskModel } from '../models/start-task.model';
import { TaskListService } from '../services/tasklist.service';
import { } from './../assets/start-task.mock';
import { StartTaskComponent } from './start-task.component';
import { ProcessTestingModule } from '../../testing/process.testing.module';
@@ -49,23 +48,6 @@ describe('StartTaskComponent', () => {
imports: [ProcessTestingModule]
});
// beforeEach(async(() => {
// TestBed.configureTestingModule({
// declarations: [
// StartTaskComponent,
// PeopleSearchFieldComponent,
// PeopleListComponent,
// PeopleSelectorComponent
// ],
// providers: [
// TaskListService,
// { provide: TranslationService, useClass: TranslationMock }
// ]
// }).compileComponents().then(() => {
// });
// }));
beforeEach(async(() => {
fixture = TestBed.createComponent(StartTaskComponent);
component = fixture.componentInstance;