We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbd6eb7 + 2db4143 commit 1b24bcfCopy full SHA for 1b24bcf
1 file changed
test/TestCases.test.js
@@ -117,8 +117,11 @@ 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() {
122
+ it('filtered')
123
+ });
124
+ return false;
125
}
126
return true;
127
}).forEach(function(testName) {
0 commit comments