From b10f9787962cd7c4d4a89d4fec12881f22022353 Mon Sep 17 00:00:00 2001 From: Chris Barton Date: Wed, 14 Aug 2024 10:50:25 -0700 Subject: [PATCH] chore: add back unit tests for apple pay `ApplePaySession` is stubbed out for the unit tests, so it should not matter which browser is running the tests. --- test/unit/apple-pay.test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/unit/apple-pay.test.js b/test/unit/apple-pay.test.js index ec9eef0e..38414a2c 100644 --- a/test/unit/apple-pay.test.js +++ b/test/unit/apple-pay.test.js @@ -79,9 +79,7 @@ const getBraintreeStub = () => ({ }, }); -const maybeDescribe = 'ApplePaySession' in window ? describe : describe.skip; - -maybeDescribe('ApplePay', function () { +describe('ApplePay', function () { beforeEach(function () { this.sandbox = sinon.createSandbox(); window.ApplePaySession = ApplePaySessionStub;