Version
28.1.3
Steps to reproduce
Expected behavior
I expect My test case to pass and to write a snapshot.
Actual behavior
My test case fails with Asymmetric matcher Object does not implement toAsymmetricMatcher() and does not write a snapshot.
Additional context
No response
Environment
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (8) x64
Binaries:
Node: 16.16.0 - /usr/bin/node
Yarn: 1.22.18 - /usr/bin/yarn
npm: 8.15.0 - /usr/bin/npm
npmPackages:
jest: ^28.1.3 => 28.1.3