diff --git a/test/Compiler.test.js b/test/Compiler.test.js index 4fda03c64..d6f170a5e 100644 --- a/test/Compiler.test.js +++ b/test/Compiler.test.js @@ -12,7 +12,7 @@ const Compiler = require("../lib/Compiler"); describe("Compiler", () => { function compile(entry, options, callback) { const noOutputPath = !options.output || !options.output.path; - new WebpackOptionsDefaulter().process(options); + options = new WebpackOptionsDefaulter().process(options); options.entry = entry; options.context = path.join(__dirname, "fixtures"); if(noOutputPath) options.output.path = "/";