From 0bed1037ac71c26dbf280cd06d9583fc2017e3d8 Mon Sep 17 00:00:00 2001 From: itsonlycode Date: Wed, 10 Apr 2019 22:01:45 +0200 Subject: [PATCH] Added regression test for 'betas' option --- types/stripe-v3/stripe-v3-tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/stripe-v3/stripe-v3-tests.ts b/types/stripe-v3/stripe-v3-tests.ts index 471c44c436..c8a40ddfa7 100644 --- a/types/stripe-v3/stripe-v3-tests.ts +++ b/types/stripe-v3/stripe-v3-tests.ts @@ -6,6 +6,7 @@ declare function it(desc: string, fn: () => void): void; describe("Stripe", () => { it("should excercise all Stripe API", () => { const stripe = Stripe('public-key'); + const stripeWithBetaOption = Stripe('public-key', { betas: ['beta-feature'] }); const elements = stripe.elements(); const style = { base: {