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
All the things works good until upgrade to version 6.1.2
What happened:
I got jest import error
SyntaxError: The requested module '@jest/globals' does not provide an export named 'default'
at Runtime.linkAndEvaluateModule (node_modules/jest-runtime/build/index.js:708:5)
Reproduction:
just when jest-globals.msj start to import globals from '@jest/globals'; jest will throw error
Problem description:
Suggested solution:
The text was updated successfully, but these errors were encountered:
@testing-library/jest-dom
version: 6.1.2node
version: 18.16npm
(oryarn
) version: 9.5.1Relevant code or config:
What you did:
I am running jest test by pure ESM mode, and setup jest.config.js by tutorial.
All the things works good until upgrade to version
6.1.2
What happened:
I got jest import error
Reproduction:
just when
jest-globals.msj
start toimport globals from '@jest/globals';
jest will throw errorProblem description:
Suggested solution:
The text was updated successfully, but these errors were encountered: