Added missing tests for shouldIgnore with the :only option
This commit is contained in:
parent
f8a2efb76f
commit
bd17eed96f
@ -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