diff options
author | Steve Robb <softnfuzzyrobb@gmail.com> | 2016-04-25 09:39:36 +0100 |
---|---|---|
committer | Steve Robb <softnfuzzyrobb@gmail.com> | 2016-04-25 09:39:36 +0100 |
commit | 3b0d9bd039266d6b3f9603d4bc30aae8307becc6 (patch) | |
tree | 62f889ca1a1ce445e3a562502d209dd0bd984d7f | |
parent | ba176c0e8ca3e257a75ab22cb3ecc020833a19be (diff) | |
download | async-3b0d9bd039266d6b3f9603d4bc30aae8307becc6.tar.gz |
Code style fixes.
-rw-r--r-- | mocha_test/autoInject.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mocha_test/autoInject.js b/mocha_test/autoInject.js index 8715a70..39c68cd 100644 --- a/mocha_test/autoInject.js +++ b/mocha_test/autoInject.js @@ -93,16 +93,16 @@ describe('autoInject', function () { }); // Needs to be run on ES6 only - not sure how you plan to handle this -// it('should work with es6 arrow syntax', function (done) { -// async.autoInject({ -// task1: (cb) => cb(null, 1), -// task2: (task3, cb) => cb(null, 2), -// task3: cb => cb(null, 3) -// }, (err, task3, task1) => { -// expect(task1).to.equal(1); -// expect(task3).to.equal(3); -// done(); -// }); -// }); + // it('should work with es6 arrow syntax', function (done) { + // async.autoInject({ + // task1: (cb) => cb(null, 1), + // task2: (task3, cb) => cb(null, 2), + // task3: cb => cb(null, 3) + // }, (err, task3, task1) => { + // expect(task1).to.equal(1); + // expect(task3).to.equal(3); + // done(); + // }); + // }); }); |