Skip to content

Commit e5845ef

Browse files
committed
removed changes to original banner plugin test
1 parent 6456932 commit e5845ef

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎test/ConfigTestCases.test.js‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,7 @@ describe("ConfigTestCases", () => {
125125
}
126126
}
127127
// give a free pass to compilation that generated an error
128-
if(!jsonStats.errors.length && filesCount !== optionsArr.length) {
129-
const msg = "Should have found at least one bundle file per webpack config" + filesCount + " " + " " + optionsArr.length
130-
return done(new Error());
131-
}
128+
if(!jsonStats.errors.length && filesCount !== optionsArr.length) return done(new Error("Should have found at least one bundle file per webpack config"));
132129
if(exportedTests < filesCount) return done(new Error("No tests exported by test case"));
133130
process.nextTick(done);
134131
});

‎test/configCases/plugins/banner-plugin/webpack.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
},
1414
plugins: [
1515
new webpack.BannerPlugin({
16-
banner: "This is a value",
16+
banner: "A test value",
1717
exclude: ["vendors.js"]
1818
})
1919
]

0 commit comments

Comments
 (0)