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
Sorry if this is the wrong place to ask this, but can we add something for the mocha --compiler flag? I tried looking through the source and couldn't easily figure out how to explicitly set this option. However, when I just do add a require('mycompiler') at the top of my gulpfile, it somehow magically runs during the mocha task. I see the readme explains how to do this for coffeescript, but I have my own compiler which I use for jsx to js transormations (reactjs).
For example, running from the command line mocha --compilers .:my_compiler.js test/**/*.js
The text was updated successfully, but these errors were encountered:
Sorry if this is the wrong place to ask this, but can we add something for the mocha --compiler flag? I tried looking through the source and couldn't easily figure out how to explicitly set this option. However, when I just do add a require('mycompiler') at the top of my gulpfile, it somehow magically runs during the mocha task. I see the readme explains how to do this for coffeescript, but I have my own compiler which I use for jsx to js transormations (reactjs).
For example, running from the command line
mocha --compilers .:my_compiler.js test/**/*.js
The text was updated successfully, but these errors were encountered: