fix boolean inversion in Spec.Mocha for describe.only
commit751b940437434e777bfa0d52f106494d44d43ab3
authorKtorZ <matthias.benkort@gmail.com>
dateFri 30 Jun 2017, 22:43 (9 years ago)
parent9c145f9
src/Test/Spec/Mocha.js+1−1
@@ -36,7 +36,7 @@ exports.describe = function (only) {
3636 return function (name) {
3737 return function (nested) {
3838 return function () {
39− var f = only ? describe : describe.only;
39+ var f = only ? describe.only : describe;
4040 f(name, function () {
4141 nested();
4242 });