diff options
author | Graeme Yeates <yeatesgraeme@gmail.com> | 2015-07-26 21:08:07 -0400 |
---|---|---|
committer | Graeme Yeates <yeatesgraeme@gmail.com> | 2015-07-26 21:35:53 -0400 |
commit | 1f97538586e09ce76168fa1ceb04288fd958b0a0 (patch) | |
tree | db435164dc9e86cb3f4bcf792f6ff831012c98b7 | |
parent | f629c02300ff7750f717c670cbc054339da11fc3 (diff) | |
download | async-1f97538586e09ce76168fa1ceb04288fd958b0a0.tar.gz |
Fix mocha_test lint warnings
-rw-r--r-- | mocha_test/.jshintrc | 4 | ||||
-rw-r--r-- | mocha_test/compose.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mocha_test/.jshintrc b/mocha_test/.jshintrc new file mode 100644 index 0000000..ea272bc --- /dev/null +++ b/mocha_test/.jshintrc @@ -0,0 +1,4 @@ +{ + "mocha": true, + "expr": true +}
\ No newline at end of file diff --git a/mocha_test/compose.js b/mocha_test/compose.js index 27b1869..85306a5 100644 --- a/mocha_test/compose.js +++ b/mocha_test/compose.js @@ -31,7 +31,7 @@ describe('compose', function(){ context('a function errors', function(){ it('yields the error and does not call later functions', function(done){ var add1called = false; - var mul3error = new Error('mul3 error') + var mul3error = new Error('mul3 error'); var add2 = function (n, cb) { setTimeout(function () { cb(null, n + 2); |