| 126 | |
| 127 | vi.mock('stripe', () => ({ |
| 128 | default: class { |
| 129 | constructor() {} |
| 130 | |
| 131 | customers = { |
| 132 | create: mockCustomerCreate, |
| 133 | update: mockCustomerUpdate |
| 134 | }; |
| 135 | |
| 136 | paymentMethods = { |
| 137 | attach: mockAttachPaymentMethod |
| 138 | }; |
| 139 | |
| 140 | subscriptions = { |
| 141 | create: mockSubCreate, |
| 142 | retrieve: mockSubRetrieve |
| 143 | }; |
| 144 | |
| 145 | checkout = { |
| 146 | sessions: { |
| 147 | create: mockCheckoutSessionCreate |
| 148 | } |
| 149 | }; |
| 150 | } |
| 151 | })); |
| 152 | |
| 153 | describe('Donate', () => { |
nothing calls this directly
no outgoing calls
no test coverage detected