Skip to content

Commit

Permalink
fixup! 4. Contact Row - Delete contact
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bizz committed Aug 28, 2024
1 parent 0ae23c5 commit b1f5339
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,12 @@ describe('DeleteAppealContactModal', () => {
});

await waitFor(() => {
expect(mutationSpy.mock.calls[8][0].operation.operationName).toEqual(
'DeleteAppealContact',
);
expect(mutationSpy.mock.calls[8][0].operation.variables).toEqual({
expect(mutationSpy).toHaveGraphqlOperation('DeleteAppealContact', {
input: {
id: 'appealContactId',
},
});

expect(handleClose).toHaveBeenCalledTimes(1);
});
expect(handleClose).toHaveBeenCalledTimes(1);
});
});

0 comments on commit b1f5339

Please sign in to comment.