From 28a428da6b4cedb1aa7fda01c91d8ca0aa11293a Mon Sep 17 00:00:00 2001 From: Caio Salgado Date: Fri, 6 Oct 2017 20:51:12 -0300 Subject: [PATCH] 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 --- docs/scripting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripting.md b/docs/scripting.md index 5cf92c773..ce1b5dbbe 100644 --- a/docs/scripting.md +++ b/docs/scripting.md @@ -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