Version
v30.0.0-alpha.2
Steps to reproduce
- Clone https://github.com/darkbasic/jest-esm-repro
yarn install
yarn test
Expected behavior
A snapshot should be generated and eventually written to disk (with -u).
Actual behavior
Tests pass despite snapshots should be generated.
Additional context
I've tried jest 29 as well.
Environment
System:
OS: Linux 6.6 Arch Linux
CPU: (16) x64 AMD Ryzen 9 PRO 7940HS w/ Radeon 780M Graphics
Binaries:
Node: 20.10.0 - /run/user/1000/fnm_multishells/1050532_1701077373135/bin/node
Yarn: 3.7.0 - /run/user/1000/fnm_multishells/1050532_1701077373135/bin/yarn
npm: 10.2.3 - /run/user/1000/fnm_multishells/1050532_1701077373135/bin/npm
npmPackages:
jest: workspace:* => 30.0.0-alpha.2