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 be21b45 commit b86f965
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ describe( 'wc-to-stripe transformers', () => {
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`
expect( transformPrice( 18, { currency_minor_unit: 0 } ) ).toBe(
18
);
Expand Down

0 comments on commit b86f965

Please sign in to comment.