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:
commit
e46c5b2398
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user