Skip to content

Commit

Permalink
test: refactor (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-Bernardito committed Feb 25, 2021
1 parent 6484345 commit d627e17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/TestCases.test.js
Expand Up @@ -90,11 +90,6 @@ describe('TestCases', () => {
clearDirectory(outputDirectory);

for (const directory of tests) {
if (directory === 'auxiliaryAssets' && webpack.version[0] === '4') {
// eslint-disable-next-line no-continue
continue;
}

if (!/^(\.|_)/.test(directory)) {
// eslint-disable-next-line no-loop-func
it(`${directory} should compile to the expected result`, (done) => {
Expand Down
3 changes: 3 additions & 0 deletions test/cases/auxiliaryAssets/test.filter.js
@@ -0,0 +1,3 @@
const webpack = require('webpack');

module.exports = () => webpack.version[0] !== '4';

0 comments on commit d627e17

Please sign in to comment.