Added missing tests for shouldIgnore with the :only option

This commit is contained in:
Prathamesh Sonpatki 2015-08-11 11:51:48 +05:30
parent f8a2efb76f
commit bd17eed96f

View File

@ -121,5 +121,11 @@ suite("util", function () {
assert.equal(util.shouldIgnore("test-fnIgnore.js", [fnIgnore]), true);
assert.equal(util.shouldIgnore("test-fnIgnore.js", [reIgnore]), false);
assert.equal(util.shouldIgnore("test-reIgnore.js", [], [fnIgnore]), true);
assert.equal(util.shouldIgnore("test-reIgnore.js", [], [reIgnore]), false);
assert.equal(util.shouldIgnore("test-fnIgnore.js", [], [fnIgnore]), false);
assert.equal(util.shouldIgnore("test-fnIgnore.js", [], [reIgnore]), true);
});
});