( type: 'invoice.payment_failed' | 'invoice.payment_succeeded', invoice: Partial<Stripe.Invoice> )
| 145 | } |
| 146 | |
| 147 | function createInvoiceEvent( |
| 148 | type: 'invoice.payment_failed' | 'invoice.payment_succeeded', |
| 149 | invoice: Partial<Stripe.Invoice> |
| 150 | ): Stripe.Event { |
| 151 | return createMockStripeEvent(type, invoice) |
| 152 | } |
| 153 | |
| 154 | describe('invoice billing recovery', () => { |
| 155 | beforeEach(() => { |
no test coverage detected