diff --git a/test/ConfigTestCases.test.js b/test/ConfigTestCases.test.js index 51b72d852..0ecf862be 100644 --- a/test/ConfigTestCases.test.js +++ b/test/ConfigTestCases.test.js @@ -125,10 +125,7 @@ describe("ConfigTestCases", () => { } } // give a free pass to compilation that generated an error - if(!jsonStats.errors.length && filesCount !== optionsArr.length) { - const msg = "Should have found at least one bundle file per webpack config" + filesCount + " " + " " + optionsArr.length - return done(new Error()); - } + if(!jsonStats.errors.length && filesCount !== optionsArr.length) return done(new Error("Should have found at least one bundle file per webpack config")); if(exportedTests < filesCount) return done(new Error("No tests exported by test case")); process.nextTick(done); }); diff --git a/test/configCases/plugins/banner-plugin/webpack.config.js b/test/configCases/plugins/banner-plugin/webpack.config.js index 82ad01f72..f8dda4c4d 100644 --- a/test/configCases/plugins/banner-plugin/webpack.config.js +++ b/test/configCases/plugins/banner-plugin/webpack.config.js @@ -13,7 +13,7 @@ module.exports = { }, plugins: [ new webpack.BannerPlugin({ - banner: "This is a value", + banner: "A test value", exclude: ["vendors.js"] }) ]