As discussed in #822, the now even longer signature for .push() is bad. Especially with ES6 an object signature would work very well, .push({ result, actual, expected, message, negative }).
As I also mentioned in that PR: If we deprecate the current signature anyway, we might as well come up with a better name, since push is very generic. Any ideas for a better name?
As discussed in #822, the now even longer signature for
.push()is bad. Especially with ES6 an object signature would work very well,.push({ result, actual, expected, message, negative }).As I also mentioned in that PR: If we deprecate the current signature anyway, we might as well come up with a better name, since
pushis very generic. Any ideas for a better name?