Kent wouldn't like that very much...
unknown
typescript
4 months ago
329 B
2
Indexable
it('prevents user to click on the item if no billing information exists', () => { expect(myMutate).not.toHaveBeenCalled(); fireEvent.click(getByTestId('dropdown-item-payment-bank')); expect(myMutate).not.toHaveBeenCalled(); }); const { getByTestId } = render(<BankPaymentItem locationGroupId="TEST_LOCATION_GROUP_ID" />);
Editor is loading...
Leave a Comment