Skip to content

Commit

Permalink
Update client/tokenized-payment-request/transformers/__tests__/wc-to-…
Browse files Browse the repository at this point in the history
…stripe.test.js

Co-authored-by: Timur Karimov <timur.karimow.95@gmail.com>
  • Loading branch information
frosso and timur27 authored Jun 24, 2024
1 parent 1c3d6cf commit be21b45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe( 'wc-to-stripe transformers', () => {
);
} );

it( 'transforms the price if the currency a zero decimal currency (e.g.: Yen)', () => {
it( 'transforms the price if the currency is a zero decimal currency (e.g.: Yen)', () => {
global.wcpayPaymentRequestParams.checkout.currency_decimals = 0;
// with zero decimals, `18` would mean `18`.
// But since Stripe expects the price to be in the minimum currency amount, the return value should be `18`
Expand Down

0 comments on commit be21b45

Please sign in to comment.