From 36544088b73666d624dd1d221f15d5efa1f25cc1 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Fri, 22 Sep 2017 15:03:30 +0200 Subject: [PATCH] bugfix for changed API of options defaulter --- test/Compiler.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "/";