(actual: unknown, expected: unknown, options?: DiffOptions)
| 344 | }) |
| 345 | |
| 346 | function getErrorDiff(actual: unknown, expected: unknown, options?: DiffOptions): string { |
| 347 | try { |
| 348 | expect(actual).toEqual(expected) |
| 349 | } |
| 350 | catch (e) { |
| 351 | const error = processError(e, options) |
| 352 | return error.diff! |
| 353 | } |
| 354 | return expect.unreachable() |
| 355 | } |
| 356 | |
| 357 | test('asymmetric matcher with objectContaining - simple case', () => { |
| 358 | const actual = { |
no test coverage detected