Merge pull request #2197 from prathamesh-sonpatki/tests-for-should-ignore-with-only

Added missing tests for shouldIgnore with the :only option
This commit is contained in:
Sebastian McKenzie 2015-08-11 18:11:27 +01:00
commit e46c5b2398

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);
});
});