Skip to content

Commit 683641e

Browse files
committed
chore(payment): update ApplePaySession variable
1 parent b20ef69 commit 683641e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/app/checkout/Checkout.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ describe('Checkout', () => {
265265
});
266266

267267
it('renders checkout button container with ApplePay', async () => {
268-
(window as any).ApplePaySession = {};
268+
(window as any).ApplePaySession = {
269+
canMakePayments: () => true,
270+
};
269271

270272
checkout.use(CheckoutPreset.RemoteProviders);
271273
checkout.use(CheckoutPreset.CheckoutWithBillingEmail);

0 commit comments

Comments
 (0)