Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayisha committed Oct 30, 2024
1 parent 2aac563 commit 7471884
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/express-checkout/__tests__/event-handler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ describe( 'Express checkout event handlers', () => {
);
expect( abortPayment ).toHaveBeenCalledWith(
event,
'Order creation error'
'Order creation error',
true
);
expect( completePayment ).not.toHaveBeenCalled();
} );
Expand Down Expand Up @@ -467,7 +468,8 @@ describe( 'Express checkout event handlers', () => {
);
expect( abortPayment ).toHaveBeenCalledWith(
event,
'Order creation error'
'Order creation error',
true
);
expect( completePayment ).not.toHaveBeenCalled();
} );
Expand Down

0 comments on commit 7471884

Please sign in to comment.