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
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
When using all the correct incantations from #9430 (comment) I am still seeing:
error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/initplatform/jest-import-meta-example npm install npm start npm test
NOTE: Need to keep ts-node at 9.1.1 for now, otherwise can not use
jest.config.ts
Reference -> #11453
Expected behavior
Expect the test to not throw an error
Link to repl or repo (highly encouraged)
https://github.com/initplatform/jest-import-meta-example
envinfo
System:
OS: macOS 11.4
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Binaries:
Node: 14.17.1 - ~/bin/node
Yarn: 1.22.10 - ~/npm-global/bin/yarn
npm: 6.14.13 - ~/bin/npm
npmPackages:
jest: 27.0.6 => 27.0.6
The text was updated successfully, but these errors were encountered: