diff --git a/lib/chai/core/assertions.js b/lib/chai/core/assertions.js index b6dded8e4..97a85d124 100644 --- a/lib/chai/core/assertions.js +++ b/lib/chai/core/assertions.js @@ -871,7 +871,7 @@ module.exports = function (chai, _) { } Assertion.addChainableMethod('length', assertLength, assertLengthChain); - Assertion.addMethod('lengthOf', assertLength, assertLengthChain); + Assertion.addMethod('lengthOf', assertLength); /** * ### .match(regexp)