(received, hint, fromPromise)
| 420 | Context, |
| 421 | [hint?: string, fromPromise?: boolean] |
| 422 | > = function (received, hint, fromPromise) { |
| 423 | const matcherName = 'toThrowErrorMatchingSnapshot'; |
| 424 | |
| 425 | // Future breaking change: Snapshot hint must be a string |
| 426 | // if (hint !== undefined && typeof hint !== string) {} |
| 427 | |
| 428 | return _toThrowErrorMatchingSnapshot( |
| 429 | { |
| 430 | context: this, |
| 431 | hint, |
| 432 | isInline: false, |
| 433 | matcherName, |
| 434 | received, |
| 435 | }, |
| 436 | fromPromise, |
| 437 | ); |
| 438 | }; |
| 439 | |
| 440 | export const toThrowErrorMatchingInlineSnapshot: MatcherFunctionWithContext< |
| 441 | Context, |
nothing calls this directly
no test coverage detected