Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: extract loading braintree libraries to util/braintree #891

Merged
merged 2 commits into from
Aug 14, 2024

Commits on Aug 14, 2024

  1. chore: extract loading braintree libraries to util/braintree

    Consolidates loading Braintree dependencies into a shared module instead
    of copying it around each module that has a Braintree integration.
    
    ```js
    import BraintreeLoader from 'path/to/./util/braintree-loader';
    
    BraintreeLoader.loadModules('applePay', 'dataCollector')
      .catch(...)
      .then(...)
    ```
    cbarton committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    3ccbfdb View commit details
    Browse the repository at this point in the history
  2. 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.
    cbarton committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    b10f978 View commit details
    Browse the repository at this point in the history