diff options
Diffstat (limited to 'test/es2017/asyncFunctions.js')
-rw-r--r-- | test/es2017/asyncFunctions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/es2017/asyncFunctions.js b/test/es2017/asyncFunctions.js index efb6555..553b7f4 100644 --- a/test/es2017/asyncFunctions.js +++ b/test/es2017/asyncFunctions.js @@ -272,14 +272,14 @@ module.exports = function () { */ it('should handle async functions in applyEach', (done) => { - async.applyEach([asyncIdentity, asyncIdentity])(input, (err, result) => { + async.applyEach([asyncIdentity, asyncIdentity], input)((err, result) => { expect(result).to.eql([input, input]); done(err); }); }); it('should handle async functions in applyEachSeries', (done) => { - async.applyEachSeries([asyncIdentity, asyncIdentity])(input, (err, result) => { + async.applyEachSeries([asyncIdentity, asyncIdentity], input)((err, result) => { expect(result).to.eql([input, input]); done(err); }); |