Skip to content

Commit

Permalink
Update mocha call to prevent deprecation warning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
CaioCSdev authored Oct 6, 2017
1 parent 97f8c2f commit 28a428d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28a428d

Please sign in to comment.