Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed May 13, 2024
1 parent 3dbdf28 commit 149d934
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/tokenized-payment-request/test/cart-api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import PaymentRequestCartApi from '../cart-api';

jest.mock( '@wordpress/api-fetch', () => jest.fn() );

global.wcpayPaymentRequestParams = {};
global.wcpayPaymentRequestParams.checkout = {};
global.wcpayPaymentRequestParams.checkout.currency_code = 'USD';

describe( 'PaymentRequestCartApi', () => {
afterEach( () => {
jest.resetAllMocks();
Expand Down

0 comments on commit 149d934

Please sign in to comment.