You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo'{ "private": true, "type": "module" }'> package.json
yarn add nanoevents
echo"import { createNanoEvents } from 'nanoevents'"> index.js
echo"import './index.js'; it.todo('test')"> index.test.js
yarn add jest@next
volta install node@15.9
node --experimental-vm-modules node_modules/.bin/jest
(node:60418) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
FAIL ./index.test.js
β Test suite failed to run
linking error, dependency promises must be resolved on instantiate
Expected behavior
volta install node@15.8
node --experimental-vm-modules node_modules/.bin/jest
(node:60479) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
PASS ./index.test.js
β todo test
Test Suites: 1 passed, 1 total
Tests: 1 todo, 1 total
Snapshots: 0 total
Time: 0.173 s
Ran all test suites.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
π Bug Report
After upgrading Node.js 15.8 β 15.9
jest@next
stopped supporting ESM.I created an issue in Node.js repo as well nodejs/node#37426
To Reproduce
Expected behavior
envinfo
The text was updated successfully, but these errors were encountered: