summaryrefslogtreecommitdiff
path: root/mocha_test/detect.js
diff options
context:
space:
mode:
Diffstat (limited to 'mocha_test/detect.js')
-rw-r--r--mocha_test/detect.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/mocha_test/detect.js b/mocha_test/detect.js
index e1eec79..97d7c3d 100644
--- a/mocha_test/detect.js
+++ b/mocha_test/detect.js
@@ -120,4 +120,18 @@ describe("detect", function () {
});
});
+
+ it('find alias', function(){
+ expect(async.find).to.equal(async.detect);
+ });
+
+ it('findLimit alias', function(){
+ expect(async.findLimit).to.equal(async.detectLimit);
+ });
+
+ it('findSeries alias', function(){
+ expect(async.findSeries).to.be.a('function');
+ expect(async.findSeries).to.equal(async.detectSeries);
+ });
+
});