diff options
author | Jah Raphael <jahraphael@yahoo.com> | 2017-01-08 19:50:34 -0600 |
---|---|---|
committer | Jah Raphael <jahraphael@yahoo.com> | 2017-01-08 19:50:34 -0600 |
commit | 4820ab88b9a6162ebcb456955c704bfb30af3827 (patch) | |
tree | 189c575175e5f43cdb4f41970382ed9dc4f2cd0e | |
parent | 590a0f6214dcc23087c8968b6bc9be5ba61836a9 (diff) | |
download | async-4820ab88b9a6162ebcb456955c704bfb30af3827.tar.gz |
enhance "inexistent dependencies" test to check that exception message contains the missing dependency name
-rw-r--r-- | mocha_test/auto.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mocha_test/auto.js b/mocha_test/auto.js index 55f3b25..e2e55f9 100644 --- a/mocha_test/auto.js +++ b/mocha_test/auto.js @@ -286,7 +286,7 @@ describe('auto', function () { callback(null, 'task1'); }] }); - }).to.throw(); + }).to.throw(/dependency `noexist`/); done(); }); |