1 parent 9085e1e commit 9a5c3cfCopy full SHA for 9a5c3cf
1 file changed
test/TestCases.test.js
@@ -117,8 +117,9 @@ describe("TestCases", function() {
117
category.tests.filter(function(test) {
118
var testDirectory = path.join(casesPath, category.name, test);
119
var filterPath = path.join(testDirectory, "test.filter.js");
120
- if(fs.existsSync(filterPath)) {
121
- return require(filterPath)(config);
+ if(fs.existsSync(filterPath) && !require(filterPath)(config)) {
+ describe.skip(test, function() { it('filtered')});
122
+ return false;
123
}
124
return true;
125
}).forEach(function(testName) {
0 commit comments