From 508f8b1702f0d7d0559eb33ba10b044e1d4083e8 Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Mon, 12 Sep 2016 01:59:11 -0300 Subject: [PATCH] Better docs for "increase | decrease" rename arguments and add property arg --- lib/chai/core/assertions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chai/core/assertions.js b/lib/chai/core/assertions.js index 8af77e280..2468e4a00 100644 --- a/lib/chai/core/assertions.js +++ b/lib/chai/core/assertions.js @@ -1959,7 +1959,7 @@ module.exports = function (chai, _) { Assertion.addChainableMethod('changes', assertChanges); /** - * ### .increase(function) + * ### .increase(target, property) * * Asserts that a function increases a numeric object property * @@ -2016,7 +2016,7 @@ module.exports = function (chai, _) { Assertion.addChainableMethod('increases', assertIncreases); /** - * ### .decrease(function) + * ### .decrease(target, property) * * Asserts that a function decreases a numeric object property *