Fix Lint errors

This commit is contained in:
Kelly McDonald 2021-08-05 11:59:39 -04:00
parent 4e8698374f
commit b496169776
1 changed files with 2 additions and 2 deletions

View File

@ -128,13 +128,13 @@ describe('WorkflowSpecListComponent', () => {
catReq.flush(mockWorkflowSpecCategories);
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');
specReq2.flush([librarySpec0]);
fixture.detectChanges();
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');
specReq.flush(mockWorkflowSpecs);
fixture.detectChanges();