Added regression test for 'betas' option

This commit is contained in:
itsonlycode
2019-04-10 22:01:45 +02:00
committed by GitHub
parent 45e6bfb39c
commit 0bed1037ac

View File

@@ -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: {