Skip to content

Commit

Permalink
Realigned harvest list tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-newey committed Nov 8, 2023
1 parent e47fcf3 commit d7a0c49
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/app/components/harvest/pages/list/list.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})
);
});

Expand Down

0 comments on commit d7a0c49

Please sign in to comment.