diff --git a/apps/api/src/stripe/stripe.controller.spec.ts b/apps/api/src/stripe/stripe.controller.spec.ts index 949b7786..f586f5d0 100644 --- a/apps/api/src/stripe/stripe.controller.spec.ts +++ b/apps/api/src/stripe/stripe.controller.spec.ts @@ -227,7 +227,7 @@ describe('StripeController', () => { state: CampaignState.complete, title: 'active-campaign', } as Campaign) - await expect(controller.setupIntentToSubscription('123')).toResolve() + await expect(controller.setupIntentToSubscription('123').catch((err) => console.log(err))).toResolve() expect(stripeMock.setupIntents.retrieve).toHaveBeenCalledWith('123', { expand: ['payment_method'], })