I've got the following setup...
I have es6, react code living in
I'm running my tests with
mocha --colors --reporter dot --compilers js:babel-register --recursive test/
All was great until recently when I pulled some logic in from one of our dependencies which is a node_module that lives in
I tried with the following in my
.babelrc, but I'm not sure if the
babelrc is working w/ babel-register as I'm expecting it too.
"presets": ["es2015", "react", "stage-1"],
I don't think it's ever making it into reading my babelrc because it doesn't appear to be checking for the
only options from the babelrc in the require.extension functions found in https://github.com/babel/babel/blob/master/packages/babel-register/src/node.js#L103.
It validates that my babelrc is correct, but I still get the following when I run
Here's a small isolated example...
Any help would be appreciated!