removed changes to original banner plugin test

This commit is contained in:
Travis Matthews 2017-04-11 18:38:50 -04:00
parent 64569322a7
commit e5845efd2a
2 changed files with 2 additions and 5 deletions

View File

@ -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);
});

View File

@ -13,7 +13,7 @@ module.exports = {
},
plugins: [
new webpack.BannerPlugin({
banner: "This is a value",
banner: "A test value",
exclude: ["vendors.js"]
})
]