mirror of https://github.com/webpack/webpack.git
removed changes to original banner plugin test
This commit is contained in:
parent
64569322a7
commit
e5845efd2a
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -13,7 +13,7 @@ module.exports = {
|
|||
},
|
||||
plugins: [
|
||||
new webpack.BannerPlugin({
|
||||
banner: "This is a value",
|
||||
banner: "A test value",
|
||||
exclude: ["vendors.js"]
|
||||
})
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue