summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2015-07-26 21:08:07 -0400
committerGraeme Yeates <yeatesgraeme@gmail.com>2015-07-26 21:35:53 -0400
commit1f97538586e09ce76168fa1ceb04288fd958b0a0 (patch)
treedb435164dc9e86cb3f4bcf792f6ff831012c98b7
parentf629c02300ff7750f717c670cbc054339da11fc3 (diff)
downloadasync-1f97538586e09ce76168fa1ceb04288fd958b0a0.tar.gz
Fix mocha_test lint warnings
-rw-r--r--mocha_test/.jshintrc4
-rw-r--r--mocha_test/compose.js2
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);