Avoid magic (babel unclear requirement)
See original GitHub issue🐛 Bug Report
Currently jest
(23.6.0) fails if @babel/core
or babel-core
or babel-jest
are not installed. This just happens if any other dependency in my app installed any @babel/xxxx
or babel-xxxx
package in node_modules/
.
My app uses ES6 (const
, class
, etc) but it does not use import
/export
so I see no reason for jest
to require babel
at all (I’m running it in Node >= 8).
Magic is not good. My app (dev) dependencies should not depend on whether other deps install babel stuff in my node_modules
. I shouldn’t have to install babel
stuff within my devDependencies
to just run jest
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Avoid fontspec warning with babel - LaTeX Stack Exchange
So when Algerian Arabic is the language in use, babel will load Amiri with arab.ARA script and language. This exists in the font, ......
Read more >Is it okay to use babel-node in production - Stack Overflow
For the server side code, I would just do a regular build using babel-cli ... All subsequent files required by node with the...
Read more >Open Babel Documentation - Read the Docs
Multiple programs are often required in realistic workflows. ... to be enclosed in double quotes to avoid confusing the shell or operating.
Read more >draft-ovsienko-babel-hmac-authentication-08 - IETF Datatracker
Internet-Draft Babel HMAC Cryptographic Authentication March 2014 For example, the following hash algorithms meet these requirements at the time of this ...
Read more >Modern IDEs are magic. Why are so many coders still using ...
“The reason I avoided IDEs to begin with was that back when I was ... become 'confused' and give bad feedback on its...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We use babel internally for things like hoisting jest.mock to the top of files for you
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.