From 3ffd7ce0749e4a5aa7e654e6bd6a139892be84ee Mon Sep 17 00:00:00 2001 From: Felipe Batista da Silva Date: Tue, 2 Apr 2024 16:42:41 +0200 Subject: [PATCH] fix chunk name --- tests/webpack5.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/webpack5.test.js b/tests/webpack5.test.js index aa8e695..e4870a0 100644 --- a/tests/webpack5.test.js +++ b/tests/webpack5.test.js @@ -810,7 +810,7 @@ describe('BundleTrackerPlugin bases tests', () => { const assetsKeys = toPairs(stats.assets).map(pair => pair[0]); const chunksKeys = toPairs(stats.chunks).map(pair => pair[0]); - expect(assetsKeys).toEqual(['css/appA.css', 'js/862.js', 'js/appA.js', 'js/appZ.js', 'js/commons.js']); + expect(assetsKeys).toEqual(['css/appA.css', 'js/75.js', 'js/appA.js', 'js/appZ.js', 'js/commons.js']); expect(chunksKeys).toEqual(['appA', 'appZ']); done();