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
const test = () => start(
env('NODE_ENV', 'test')
mochista(...)
)
and .babelrc like this:
"env": {
"test": {
"plugins": [
"istanbul",
It turns out the plugin "istanbul" isn't actually used.
Probably because I'm also using start-babel-cli which already loads babel-register before the test task has had the chance to set NODE_ENV which babel uses to load the plugin.
The text was updated successfully, but these errors were encountered:
I have a task like this:
and
.babelrc
like this:It turns out the plugin "istanbul" isn't actually used.
Probably because I'm also using
start-babel-cli
which already loadsbabel-register
before thetest
task has had the chance to set NODE_ENV which babel uses to load the plugin.The text was updated successfully, but these errors were encountered: