restore PS xit tests (#3173)

This commit is contained in:
Eugenio Romano
2018-04-11 17:23:56 +01:00
committed by GitHub
parent 38de016893
commit 8b4af90b46
6 changed files with 22 additions and 64 deletions

View File

@@ -334,7 +334,7 @@ describe('StartTaskComponent', () => {
expect(testFullname4.trim()).toBe('');
});
xit('should emit error when there is an error while creating task', () => {
it('should emit error when there is an error while creating task', () => {
let errorSpy = spyOn(component.error, 'emit');
spyOn(service, 'createNewTask').and.returnValue(Observable.throw({}));
let createTaskButton = <HTMLElement> element.querySelector('#button-start');