Closed sstur closed 6 years ago
Hi. Thanks for this awesome project!
In one case where we use this in a RN project, our CI tests (using Jest) are failing with an error about cannot find babel preset prometheusresearch.
prometheusresearch
I believe the reason is that in your package.json you have some babel config which gets checked into npm:
"babel": { "presets": [ "prometheusresearch" ] },
For some reason this confuses Jest/babel and it tries to convert your published code using babel.
Would you be open to a PR that moves this config to a .babelrc file in your project's root that does NOT get published to npm?
.babelrc
Thanks much!
/cc @darcien who has been helping diagnose this.
Yep, sure, let's fix it.
Hi. Thanks for this awesome project!
In one case where we use this in a RN project, our CI tests (using Jest) are failing with an error about cannot find babel preset
prometheusresearch
.I believe the reason is that in your package.json you have some babel config which gets checked into npm:
For some reason this confuses Jest/babel and it tries to convert your published code using babel.
Would you be open to a PR that moves this config to a
.babelrc
file in your project's root that does NOT get published to npm?Thanks much!
/cc @darcien who has been helping diagnose this.