mess with the require system to preprocess files, to enable this `mocha --compilers js:babel` - really? ouch https://github.com/babel/babel/blob/master/lib/babel/api/register/node.js#L111 …
-
-
@sebmck maybe thats the node way, looks dirty. but 1) it only works with require 2) bable assumes mocha uses require to load files -
@wolframkriesing 1) Hence "require hook", there are plenty of more appropriate ways to use babel. 2) It does. - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 