Fix Lint errors
This commit is contained in:
parent
4e8698374f
commit
b496169776
|
@ -128,13 +128,13 @@ describe('WorkflowSpecListComponent', () => {
|
||||||
catReq.flush(mockWorkflowSpecCategories);
|
catReq.flush(mockWorkflowSpecCategories);
|
||||||
expect(component.categories.length).toBeGreaterThan(0);
|
expect(component.categories.length).toBeGreaterThan(0);
|
||||||
|
|
||||||
const specReq2 = httpMock.expectOne('apiRoot/workflow-specification?libraries=true')
|
const specReq2 = httpMock.expectOne('apiRoot/workflow-specification?libraries=true');
|
||||||
expect(specReq2.request.method).toEqual('GET');
|
expect(specReq2.request.method).toEqual('GET');
|
||||||
specReq2.flush([librarySpec0]);
|
specReq2.flush([librarySpec0]);
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
expect(component.workflowLibraries.length).toBeGreaterThan(0);
|
expect(component.workflowLibraries.length).toBeGreaterThan(0);
|
||||||
|
|
||||||
const specReq = httpMock.expectOne('apiRoot/workflow-specification')
|
const specReq = httpMock.expectOne('apiRoot/workflow-specification');
|
||||||
expect(specReq.request.method).toEqual('GET');
|
expect(specReq.request.method).toEqual('GET');
|
||||||
specReq.flush(mockWorkflowSpecs);
|
specReq.flush(mockWorkflowSpecs);
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
|
|
Loading…
Reference in New Issue