Skip to content

Commit d627e17

Browse files
test: refactor (webpack-contrib#710)
1 parent 6484345 commit d627e17

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/TestCases.test.js

-5
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ describe('TestCases', () => {
9090
clearDirectory(outputDirectory);
9191

9292
for (const directory of tests) {
93-
if (directory === 'auxiliaryAssets' && webpack.version[0] === '4') {
94-
// eslint-disable-next-line no-continue
95-
continue;
96-
}
97-
9893
if (!/^(\.|_)/.test(directory)) {
9994
// eslint-disable-next-line no-loop-func
10095
it(`${directory} should compile to the expected result`, (done) => {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const webpack = require('webpack');
2+
3+
module.exports = () => webpack.version[0] !== '4';

0 commit comments

Comments
 (0)