summaryrefslogtreecommitdiff
path: root/test/es2017/asyncFunctions.js
diff options
context:
space:
mode:
authorAlexander Early <alexander.early@gmail.com>2019-05-18 20:52:45 -0700
committerAlexander Early <alexander.early@gmail.com>2019-05-18 20:52:45 -0700
commit562bd495d18a1f2a96255d8e6c7d284edae5ec39 (patch)
tree101c1ffb9a4f5a0f43139cc33bc3d42c113ea8ce /test/es2017/asyncFunctions.js
parent4330d536c106592139fa82062494c9dba0da1fdb (diff)
downloadasync-applyeach-no-partial.tar.gz
BREAKING CHANGE: remove partial application feature of applyEachapplyeach-no-partial
Diffstat (limited to 'test/es2017/asyncFunctions.js')
-rw-r--r--test/es2017/asyncFunctions.js4
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);
});