Skip to content

Commit

Permalink
chore: add back unit tests for apple pay
Browse files Browse the repository at this point in the history
`ApplePaySession` is stubbed out for the unit tests, so it should not
matter which browser is running the tests.
  • Loading branch information
cbarton committed Aug 14, 2024
1 parent 3ccbfdb commit b10f978
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit/apple-pay.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b10f978

Please sign in to comment.