### Version 28.1.3 ### Steps to reproduce * Clone https://github.com/bjoluc/jest-asymmetric-matcher-repro * `npm install` * `npm test` ### 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()`](https://github.com/facebook/jest/blob/1cce9a7dc194103576fad6c2086052efbea5ae77/packages/pretty-format/src/plugins/AsymmetricMatcher.ts#L83-L87) and does not write a snapshot. ### Additional context _No response_ ### Environment ```shell 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 ```