diff --git a/src/app/components/harvest/pages/list/list.component.spec.ts b/src/app/components/harvest/pages/list/list.component.spec.ts index a625b6911..19e56fd4b 100644 --- a/src/app/components/harvest/pages/list/list.component.spec.ts +++ b/src/app/components/harvest/pages/list/list.component.spec.ts @@ -267,14 +267,10 @@ describe("ListComponent", () => { it("should make the correct api calls for an unscoped harvest list", () => { // to unscope the harvest list, we return `null` from the project getter const harvestApi = setup(null, defaultHarvest); - expect(harvestApi.filter).toHaveBeenCalledWith( + expect(harvestApi.filter).not.toHaveBeenCalledWith( jasmine.objectContaining({ - filter: { - projectId: { - eq: undefined, - }, - }, - }), + filter: jasmine.any(Object), + }) ); });