node_modules/react-stripe-elements/lib/components/inject.test.js
// simulate StripeProvider eventually giving us a StripeShape
simulate StripeProvider eventually giving us a StripeShape
simulate StripeProvider eventually giving us a StripeShape
function addStripeLoadListener(fn) {
            fn({
              elements: jest.fn(),
              createSource: createSource,
              createToken: createToken
            });
          }
function addStripeLoadListener ( fn ) { fn ( { elements : jest . fn ( ) , createSource : createSource , createToken : createToken } ) ; }
simulate StripeProvider eventually giving us a StripeShape
simulate StripeProvider eventually giving us a StripeShape