-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Get babel.dev.js working with Mocha #359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can probably do something like
|
Perfect, it works. Thanks |
This has now been extracted to a babel preset: "babel-preset-react-app", in case anybody else finds their way here. |
Also, to be clear, we've since added a built-in testing solution so you shouldn't need to run Mocha—unless you really want it over Jest for one or another reason. |
Hi, I'm used to having a .babelrc and start mocha with: mocha --compilers js:babel-core/register, but I would like to reuse the .babel.dev.js in config/. Any hint in the right direction would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: