fix deprecation messages in test

This commit is contained in:
Tobias Koppers 2019-07-23 11:25:33 +02:00
parent ae3db13d7d
commit 9b2b1b4bf7
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ describe("ConfigTestCases", () => {
const testDirectory = path.join(casesPath, cat, testName);
const filterPath = path.join(testDirectory, "test.filter.js");
if (fs.existsSync(filterPath) && !require(filterPath)()) {
describe.skip(testName, () => it("filtered"));
describe.skip(testName, () => {
it("filtered", () => {});
});
return false;
}
return true;