Commit 46efee0
committed
test(billing): cover StripeInvalidRequestError class-name branch in retry short-circuit
The shouldRetry predicate guards both Stripe error type spellings
(StripeInvalidRequestError class name + invalid_request_error raw type,
which vary by stripe-node version). Add a parallel short-circuit test for
the class-name value and align the existing test's predicate with the
production one. Closes a coverage gap flagged by the pre-push gate.1 parent b3f08d5 commit 46efee0
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
52 | 67 | | |
53 | 68 | | |
54 | 69 | | |
| |||
0 commit comments