babel/generator-babel-boilerplate

Duplicate Babel register for tests?

Opened this issue · 1 comments

Heya,

While looking through the gulpfile.js and node.js files, I noticed that it appears to be registering babel twice when running the mocha tests:

It occurs here when setting up node:, which is imported for the _mocha() invocation here

It is also done here prior to calling _mocha().

Seems like a dupe, should it be removed from one of the places?

Good catch! I believe the require in the node setup can be removed. It must be leftover from a previous iteration.

I'm planning the next release of this generator – I'll be sure to sort this out then.