diff --git a/test/TestCases.template.js b/test/TestCases.template.js index c0f20c399..b7c3110cf 100644 --- a/test/TestCases.template.js +++ b/test/TestCases.template.js @@ -61,7 +61,9 @@ const describeCases = config => { const testDirectory = path.join(casesPath, category.name, test); const filterPath = path.join(testDirectory, "test.filter.js"); if (fs.existsSync(filterPath) && !require(filterPath)(config)) { - describe.skip(test, () => it("filtered")); + describe.skip(test, () => { + it("filtered", () => {}); + }); return false; } return true;