Skip to content

Commit

Permalink
fix chunk name
Browse files Browse the repository at this point in the history
  • Loading branch information
batistadasilva committed Apr 3, 2024
1 parent 2662683 commit 3b0306f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/webpack5.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3b0306f

Please sign in to comment.