Skip to content

Commit 06dd5d1

Browse files
committed
fix: set default mode for caching test
1 parent e970afa commit 06dd5d1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎test/Compiler-caching.test.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ describe("Compiler (caching)", function() {
1313

1414
function compile(entry, options, callback) {
1515
options = new WebpackOptionsDefaulter().process(options);
16+
options.mode = "production";
1617
options.cache = true;
1718
options.entry = entry;
1819
options.optimization.minimize = false;

0 commit comments

Comments
 (0)