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
mocha --reporter spec --compilers coffee:coffee-script --require should
I keep my specs in ./test and my source in ./src. Both are CoffeeScript. When I run mocha, the specs are compiled correctly, but the source seems cached or not run through the CoffeeScript compiler at all. I can verify this by introducing an error in the source code and re-run the tests, but they will still pass.
Funny side note: When using --watch test, the source files are also watched, even though they are not in the test directory, but they are still not compiled before the specs are run.
The text was updated successfully, but these errors were encountered:
I'm running mocha like this
I keep my specs in ./test and my source in ./src. Both are CoffeeScript. When I run mocha, the specs are compiled correctly, but the source seems cached or not run through the CoffeeScript compiler at all. I can verify this by introducing an error in the source code and re-run the tests, but they will still pass.
Funny side note: When using
--watch test
, the source files are also watched, even though they are not in the test directory, but they are still not compiled before the specs are run.The text was updated successfully, but these errors were encountered: