Quizz 7
unknown
typescript
5 months ago
327 B
12
Indexable
it('prevents user from interacting when 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