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
FAIL ./index.test.js
● Test suite failed to run
Cannot find module '#ext' from 'index.js'
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:491:11)
at async Promise.all (index 0)
Additional context
My project uses chalk that uses imports field, and jest on my project fails on that error.
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.
Version
28.1.2
Steps to reproduce
Expected behavior
Test Succeed.
The imports field in package.json is used.
Actual behavior
Test fails.
The imports field in package.json is ignored.
Additional context
My project uses chalk that uses imports field, and jest on my project fails on that error.
package.json:
Environment
The text was updated successfully, but these errors were encountered: