Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Sep 17, 2024
1 parent c1e7483 commit 8e3dc61
Showing 1 changed file with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,13 +489,8 @@ describe('FourteenMonthReport', () => {
);

await waitFor(() =>
expect(mutationSpy.mock.calls[1][0]).toMatchObject({
operation: {
operationName: 'FourteenMonthReport',
variables: {
designationAccountIds: ['account-1'],
},
},
expect(mutationSpy).toHaveGraphqlOperation('FourteenMonthReport', {
designationAccountIds: ['account-1'],
}),
);
});
Expand All @@ -521,13 +516,8 @@ describe('FourteenMonthReport', () => {
);

await waitFor(() =>
expect(mutationSpy.mock.calls[1][0]).toMatchObject({
operation: {
operationName: 'FourteenMonthReport',
variables: {
designationAccountIds: null,
},
},
expect(mutationSpy).toHaveGraphqlOperation('FourteenMonthReport', {
designationAccountIds: null,
}),
);
});
Expand Down

0 comments on commit 8e3dc61

Please sign in to comment.