Skip to content

Commit

Permalink
more asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Feb 23, 2023
1 parent d2a0113 commit 9a1880f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions testProjects/mjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,28 @@ assert(Stripe.createNodeCryptoProvider);
assert(Stripe.createSubtleCryptoProvider);

assert(Stripe.errors);
assert(Stripe.resources);
assert(Stripe.webhooks);
assert(Stripe.errors.generate)
assert(Stripe.errors.StripeError);
assert(Stripe.errors.StripeCardError);
assert(Stripe.errors.StripeInvalidRequestError);
assert(Stripe.errors.StripeAPIError);
assert(Stripe.errors.StripeAuthenticationError);
assert(Stripe.errors.StripePermissionError);
assert(Stripe.errors.StripeRateLimitError);
assert(Stripe.errors.StripeConnectionError);
assert(Stripe.errors.StripeSignatureVerificationError);
assert(Stripe.errors.StripeIdempotencyError);
assert(Stripe.errors.StripeInvalidGrantError);
assert(Stripe.errors.StripeUnknownError);

assert(Stripe.StripeResource);
assert(Stripe.StripeResource.method);
assert(Stripe.StripeResource.extend);
assert(Stripe.StripeResource.MAX_BUFFERED_REQUEST_METRICS);

assert(Stripe.webhooks);
assert(Stripe.resources);

assert(Stripe.Stripe);
assert(Stripe.default);

Expand All @@ -35,6 +49,7 @@ assert(stripe._enableTelemetry);
assert(stripe._prevRequestMetrics);
assert(stripe._requestSender);
assert(stripe.VERSION);
assert(stripe.errors);
assert(stripe.webhookEndpoints);
assert(stripe.webhooks);
assert(stripe._emitter);
Expand Down

0 comments on commit 9a1880f

Please sign in to comment.