(year: number, month: number, day: number)
| 29 | // Helper to create a UTC date on a specific day-of-week |
| 30 | // dayOfWeek: 0=Sun, 1=Mon, ..., 6=Sat |
| 31 | function utcDate(year: number, month: number, day: number): Date { |
| 32 | const d = new Date(Date.UTC(year, month - 1, day)) |
| 33 | return d |
| 34 | } |
| 35 | |
| 36 | function createMockSubscription(overrides?: Partial<{ |
| 37 | stripe_subscription_id: string |
no outgoing calls
no test coverage detected