Permalink
Browse files

Update mocha call to prevent deprecation warning

the --compilers flag is deprecated and will be removed in a future version of Mocha
https://github.com/mochajs/mocha/wiki/compilers-deprecation

Using the --require flag instead
1 parent 97f8c2f commit 28a428da6b4cedb1aa7fda01c91d8ca0aa11293a @Eliada Eliada committed Oct 6, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/scripting.md
View
@@ -918,7 +918,7 @@ describe 'example script', ->
**sample output**
```bash
-% mocha --compilers "coffee:coffee-script/register" test/*.coffee
+% mocha --require coffee-script/register test/*.coffee
example script

0 comments on commit 28a428d

Please sign in to comment.