File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
packages/webpack-plugin/src/webpack-bundle-analysis/utils/__tests__ Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe("processChunks", () => {
88 it ( "should process chunks" , ( ) => {
99 const chunks = [
1010 {
11- id : 1 ,
11+ id : "1" ,
1212 entry : true ,
1313 initial : true ,
1414 files : [ "file1.js" ] ,
@@ -17,6 +17,10 @@ describe("processChunks", () => {
1717 recorded : true ,
1818 size : 1000 ,
1919 hash : "hash1" ,
20+ sizes : { } ,
21+ idHints : [ ] ,
22+ auxiliaryFiles : [ ] ,
23+ childrenByOrder : { } ,
2024 } ,
2125 {
2226 id : 2 ,
@@ -28,6 +32,10 @@ describe("processChunks", () => {
2832 recorded : true ,
2933 size : 2000 ,
3034 hash : "hash2" ,
35+ sizes : { } ,
36+ idHints : [ ] ,
37+ auxiliaryFiles : [ ] ,
38+ childrenByOrder : { } ,
3139 } ,
3240 ] satisfies StatsChunk [ ] ;
3341
@@ -66,6 +74,10 @@ describe("processChunks", () => {
6674 recorded : true ,
6775 size : 1000 ,
6876 hash : "hash1" ,
77+ sizes : { } ,
78+ idHints : [ ] ,
79+ auxiliaryFiles : [ ] ,
80+ childrenByOrder : { } ,
6981 } ,
7082 {
7183 entry : true ,
@@ -76,6 +88,10 @@ describe("processChunks", () => {
7688 recorded : true ,
7789 size : 2000 ,
7890 hash : "hash2" ,
91+ sizes : { } ,
92+ idHints : [ ] ,
93+ auxiliaryFiles : [ ] ,
94+ childrenByOrder : { } ,
7995 } ,
8096 ] satisfies StatsChunk [ ] ;
8197
You can’t perform that action at this time.
0 commit comments