From 332b72cc2ae5e22f6930cae6ec59855fc152a328 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Tue, 17 Aug 2021 18:16:31 +0530 Subject: [PATCH] test: fix --- test/e2e/module-federation.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/module-federation.test.js b/test/e2e/module-federation.test.js index 9c4fc9f53d..b2ff8d4be9 100644 --- a/test/e2e/module-federation.test.js +++ b/test/e2e/module-federation.test.js @@ -6,7 +6,6 @@ const Server = require("../../lib/Server"); const simpleConfig = require("../fixtures/module-federation-config/webpack.config"); const objectEntryConfig = require("../fixtures/module-federation-config/webpack.object-entry.config"); const multiConfig = require("../fixtures/module-federation-config/webpack.multi.config"); -const pluginConfig = require("../fixtures/module-federation-config/webpack.plugin"); const runBrowser = require("../helpers/run-browser"); const isWebpack5 = require("../helpers/isWebpack5"); const port = require("../ports-map")["universal-compiler"]; @@ -237,6 +236,8 @@ describe("Module federation", () => { }); describeOnlyWebpack5("should use plugin", () => { + const pluginConfig = require("../fixtures/module-federation-config/webpack.plugin"); + let compiler; let server; let page;