From 457055cbcc7404ce7fe69ebb1fe33f385dd5eaf7 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Sat, 7 Dec 2019 01:35:46 +0100 Subject: [PATCH] fix test case --- test/watchCases/plugins/module-concatenation-plugin/0/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/watchCases/plugins/module-concatenation-plugin/0/index.js b/test/watchCases/plugins/module-concatenation-plugin/0/index.js index 91b447495..e99887547 100644 --- a/test/watchCases/plugins/module-concatenation-plugin/0/index.js +++ b/test/watchCases/plugins/module-concatenation-plugin/0/index.js @@ -9,5 +9,5 @@ it("should watch for changes", function() { expect(require("./foo/" + WATCH_STEP)).toBe('This should be working.' + WATCH_STEP); } - expect(STATS_JSON.modules.length).toBe(7 + Number(WATCH_STEP)); + expect(STATS_JSON.modules.filter(m => !m.runtime).length).toBe(4 + Number(WATCH_STEP)); });