lint
This commit is contained in:
parent
d7ae4c04b9
commit
3726e10f3a
|
@ -48,9 +48,10 @@ describe("license management", () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create checkout session for price
|
// Create checkout session for price
|
||||||
const checkoutSessionRes = await config.api.stripe.createCheckoutSession(
|
const checkoutSessionRes = await config.api.stripe.createCheckoutSession({
|
||||||
{ id: premiumPrice.priceId, type: premiumPrice.type }
|
id: premiumPrice.priceId,
|
||||||
)
|
type: premiumPrice.type,
|
||||||
|
})
|
||||||
const checkoutSessionUrl = checkoutSessionRes[1].url
|
const checkoutSessionUrl = checkoutSessionRes[1].url
|
||||||
expect(checkoutSessionUrl).toContain("checkout.stripe.com")
|
expect(checkoutSessionUrl).toContain("checkout.stripe.com")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue