Skip to content

Commit

Permalink
Merge pull request #214 from utvara/master
Browse files Browse the repository at this point in the history
Add Stripe exports for easier mocking
  • Loading branch information
kyleconroy committed Nov 16, 2015
2 parents 225811b + 8c22262 commit eb4c39f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/stripe.js
Expand Up @@ -161,3 +161,5 @@ Stripe.prototype = {
};

module.exports = Stripe;
// expose constructor as a named property to enable mocking with Sinon.JS
module.exports.Stripe = Stripe;

0 comments on commit eb4c39f

Please sign in to comment.