We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ad71e0 commit 5b30edeCopy full SHA for 5b30ede
test/StatsTestCases.test.js
@@ -15,7 +15,16 @@ const tests = fs
15
testName =>
16
fs.existsSync(path.join(base, testName, "index.js")) ||
17
fs.existsSync(path.join(base, testName, "webpack.config.js"))
18
- );
+ )
19
+ .filter(testName => {
20
+ const testDirectory = path.join(base, testName);
21
+ const filterPath = path.join(testDirectory, "test.filter.js");
22
+ if (fs.existsSync(filterPath) && !require(filterPath)()) {
23
+ describe.skip(testName, () => it("filtered"));
24
+ return false;
25
+ }
26
+ return true;
27
+ });
28
29
describe("StatsTestCases", () => {
30
tests.forEach(testName => {
0 commit comments