@@ -42,13 +42,13 @@ describe('renderMarkdownReport', () => {
42
42
const result = await renderMarkdownReport ( mockPrInfo ) ;
43
43
44
44
expect ( result ) . toMatchInlineSnapshot ( `
45
- "**Total Size Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +400B<sup>(+1.08%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+0.91%)</sup>
45
+ "**Total Size Change:** 🔺 +400B<sup>(+1.08%)</sup> - **Total Gzip Change:** 🔺 +100B<sup>(+0.91%)</sup>
46
46
Files: 2 total (0 added, 0 removed, 1 changed)
47
47
48
48
<details>
49
49
<summary>Show 1 bundle changes</summary>
50
50
51
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +400B<sup>(+2.67%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+2.22%)</sup>
51
+ **@mui/material/Button/index.js** **parsed:** 🔺 +400B<sup>(+2.67%)</sup> **gzip:** 🔺 +100B<sup>(+2.22%)</sup>
52
52
53
53
</details>
54
54
@@ -71,13 +71,13 @@ describe('renderMarkdownReport', () => {
71
71
const result = await renderMarkdownReport ( mockPrInfo ) ;
72
72
73
73
expect ( result ) . toMatchInlineSnapshot ( `
74
- "**Total Size Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +3.5KB<sup>(+23.33%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +1.2KB<sup>(+26.67%)</sup>
74
+ "**Total Size Change:** 🔺 +3.5KB<sup>(+23.33%)</sup> - **Total Gzip Change:** 🔺 +1.2KB<sup>(+26.67%)</sup>
75
75
Files: 2 total (1 added, 0 removed, 0 changed)
76
76
77
77
<details>
78
78
<summary>Show 1 bundle changes</summary>
79
79
80
- **@mui/material/Chip/index.js** **parsed:**<sup>\${\\tiny{\\color{orangered}▲}}$</sup> +3.5KB<sup>(new)</sup> **gzip:**<sup>\${\\tiny{\\color{orangered}▲}}$</sup> +1.2KB<sup>(new)</sup>
80
+ **@mui/material/Chip/index.js** **parsed:** 🔺 +3.5KB<sup>(new)</sup> **gzip:** 🔺 +1.2KB<sup>(new)</sup>
81
81
82
82
</details>
83
83
@@ -99,13 +99,13 @@ describe('renderMarkdownReport', () => {
99
99
expect ( result ) . toMatchInlineSnapshot ( `
100
100
"_:no_entry_sign: No bundle size snapshot found for base commit abc123._
101
101
102
- **Total Size Change:** +15KB<sup>(0.00%)</sup> - **Total Gzip Change:** +4.5KB<sup>(0.00%)</sup>
102
+ **Total Size Change:** +15KB<sup>(0.00%)</sup> - **Total Gzip Change:** +4.5KB<sup>(0.00%)</sup>
103
103
Files: 1 total (1 added, 0 removed, 0 changed)
104
104
105
105
<details>
106
106
<summary>Show 1 bundle changes</summary>
107
107
108
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{orangered}▲}}$</sup> +15KB<sup>(new)</sup> **gzip:**<sup>\${\\tiny{\\color{orangered}▲}}$</sup> +4.5KB<sup>(new)</sup>
108
+ **@mui/material/Button/index.js** **parsed:** 🔺 +15KB<sup>(new)</sup> **gzip:** 🔺 +4.5KB<sup>(new)</sup>
109
109
110
110
</details>
111
111
@@ -127,13 +127,13 @@ describe('renderMarkdownReport', () => {
127
127
const result = await renderMarkdownReport ( mockPrInfo ) ;
128
128
129
129
expect ( result ) . toMatchInlineSnapshot ( `
130
- "**Total Size Change:**<sup>\${\\tiny{\\color{green}▼}}$</sup> -500B<sup>(-3.33%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{green}▼}}$</sup> -200B<sup>(-4.44%)</sup>
130
+ "**Total Size Change:** ▼ -500B<sup>(-3.33%)</sup> - **Total Gzip Change:** ▼ -200B<sup>(-4.44%)</sup>
131
131
Files: 1 total (0 added, 0 removed, 1 changed)
132
132
133
133
<details>
134
134
<summary>Show 1 bundle changes</summary>
135
135
136
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{green}▼}}$</sup> -500B<sup>(-3.33%)</sup> **gzip:**<sup>\${\\tiny{\\color{green}▼}}$</sup> -200B<sup>(-4.44%)</sup>
136
+ **@mui/material/Button/index.js** **parsed:** ▼ -500B<sup>(-3.33%)</sup> **gzip:** ▼ -200B<sup>(-4.44%)</sup>
137
137
138
138
</details>
139
139
@@ -157,13 +157,13 @@ describe('renderMarkdownReport', () => {
157
157
const result = await renderMarkdownReport ( mockPrInfo ) ;
158
158
159
159
expect ( result ) . toMatchInlineSnapshot ( `
160
- "**Total Size Change:**<sup>\${\\tiny{\\color{green}▼}}$</sup> -22KB<sup>(-59.46%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{green}▼}}$</sup> -6.5KB<sup>(-59.09%)</sup>
160
+ "**Total Size Change:** ▼ -22KB<sup>(-59.46%)</sup> - **Total Gzip Change:** ▼ -6.5KB<sup>(-59.09%)</sup>
161
161
Files: 2 total (0 added, 1 removed, 0 changed)
162
162
163
163
<details>
164
164
<summary>Show 1 bundle changes</summary>
165
165
166
- **@mui/material/TextField/index.js** **parsed:**<sup>\${\\tiny{\\color{cornflowerblue}▼}}$</sup> -22KB<sup>(removed)</sup> **gzip:**<sup>\${\\tiny{\\color{cornflowerblue}▼}}$</sup> -6.5KB<sup>(removed)</sup>
166
+ **@mui/material/TextField/index.js** **parsed:** ▼ -22KB<sup>(removed)</sup> **gzip:** ▼ -6.5KB<sup>(removed)</sup>
167
167
168
168
</details>
169
169
@@ -196,28 +196,28 @@ describe('renderMarkdownReport', () => {
196
196
expect ( result ) . toContain ( '<details>' ) ; // Collapsible section
197
197
expect ( result ) . toContain ( 'Show 16 bundle changes' ) ; // All changes in details
198
198
expect ( result ) . toMatchInlineSnapshot ( `
199
- "**Total Size Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +1.15KB<sup>(+3.83%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +250B<sup>(+2.78%)</sup>
199
+ "**Total Size Change:** 🔺 +1.15KB<sup>(+3.83%)</sup> - **Total Gzip Change:** 🔺 +250B<sup>(+2.78%)</sup>
200
200
Files: 16 total (0 added, 0 removed, 16 changed)
201
201
202
202
<details>
203
203
<summary>Show 16 bundle changes</summary>
204
204
205
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +400B<sup>(+2.67%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+2.22%)</sup>
206
- **@mui/icons-material/Icon1.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
207
- **@mui/icons-material/Icon10.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
208
- **@mui/icons-material/Icon11.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
209
- **@mui/icons-material/Icon12.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
210
- **@mui/icons-material/Icon13.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
211
- **@mui/icons-material/Icon14.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
212
- **@mui/icons-material/Icon15.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
213
- **@mui/icons-material/Icon2.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
214
- **@mui/icons-material/Icon3.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
215
- **@mui/icons-material/Icon4.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
216
- **@mui/icons-material/Icon5.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
217
- **@mui/icons-material/Icon6.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
218
- **@mui/icons-material/Icon7.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
219
- **@mui/icons-material/Icon8.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
220
- **@mui/icons-material/Icon9.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+5.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +10B<sup>(+3.33%)</sup>
205
+ **@mui/material/Button/index.js** **parsed:** 🔺 +400B<sup>(+2.67%)</sup> **gzip:** 🔺 +100B<sup>(+2.22%)</sup>
206
+ **@mui/icons-material/Icon1.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
207
+ **@mui/icons-material/Icon10.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
208
+ **@mui/icons-material/Icon11.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
209
+ **@mui/icons-material/Icon12.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
210
+ **@mui/icons-material/Icon13.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
211
+ **@mui/icons-material/Icon14.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
212
+ **@mui/icons-material/Icon15.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
213
+ **@mui/icons-material/Icon2.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
214
+ **@mui/icons-material/Icon3.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
215
+ **@mui/icons-material/Icon4.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
216
+ **@mui/icons-material/Icon5.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
217
+ **@mui/icons-material/Icon6.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
218
+ **@mui/icons-material/Icon7.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
219
+ **@mui/icons-material/Icon8.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
220
+ **@mui/icons-material/Icon9.js** **parsed:** 🔺 +50B<sup>(+5.00%)</sup> **gzip:** 🔺 +10B<sup>(+3.33%)</sup>
221
221
222
222
</details>
223
223
@@ -240,7 +240,7 @@ describe('renderMarkdownReport', () => {
240
240
241
241
expect ( result ) . toContain ( 'circleCIBuildNumber=12345' ) ;
242
242
expect ( result ) . toMatchInlineSnapshot ( `
243
- "**Total Size Change:** 0B<sup>(0.00%)</sup> - **Total Gzip Change:** 0B<sup>(0.00%)</sup>
243
+ "**Total Size Change:** 0B<sup>(0.00%)</sup> - **Total Gzip Change:** 0B<sup>(0.00%)</sup>
244
244
Files: 1 total (0 added, 0 removed, 0 changed)
245
245
246
246
@@ -263,7 +263,7 @@ describe('renderMarkdownReport', () => {
263
263
const result = await renderMarkdownReport ( mockPrInfo ) ;
264
264
265
265
expect ( result ) . toMatchInlineSnapshot ( `
266
- "**Total Size Change:** 0B<sup>(0.00%)</sup> - **Total Gzip Change:** 0B<sup>(0.00%)</sup>
266
+ "**Total Size Change:** 0B<sup>(0.00%)</sup> - **Total Gzip Change:** 0B<sup>(0.00%)</sup>
267
267
Files: 1 total (0 added, 0 removed, 0 changed)
268
268
269
269
@@ -292,15 +292,15 @@ describe('renderMarkdownReport', () => {
292
292
} ) ;
293
293
294
294
expect ( result ) . toMatchInlineSnapshot ( `
295
- "**Total Size Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +600B<sup>(+1.62%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +200B<sup>(+1.82%)</sup>
295
+ "**Total Size Change:** 🔺 +600B<sup>(+1.62%)</sup> - **Total Gzip Change:** 🔺 +200B<sup>(+1.82%)</sup>
296
296
Files: 2 total (0 added, 0 removed, 2 changed)
297
297
298
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +400B<sup>(+2.67%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+2.22%)</sup>
299
- **@mui/material/TextField/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +200B<sup>(+0.91%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+1.54%)</sup>
298
+ **@mui/material/Button/index.js** **parsed:** 🔺 +400B<sup>(+2.67%)</sup> **gzip:** 🔺 +100B<sup>(+2.22%)</sup>
299
+ **@mui/material/TextField/index.js** **parsed:** 🔺 +200B<sup>(+0.91%)</sup> **gzip:** 🔺 +100B<sup>(+1.54%)</sup>
300
300
<details>
301
301
<summary>Show 1 other bundle changes</summary>
302
302
303
- **@mui/icons-material/Add.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+10.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+16.67%)</sup>
303
+ **@mui/icons-material/Add.js** **parsed:** 🔺 +100B<sup>(+10.00%)</sup> **gzip:** 🔺 +50B<sup>(+16.67%)</sup>
304
304
305
305
</details>
306
306
@@ -333,15 +333,15 @@ describe('renderMarkdownReport', () => {
333
333
expect ( result ) . not . toContain ( '+1.8KB' ) ;
334
334
expect ( result ) . not . toContain ( '+600B' ) ;
335
335
expect ( result ) . toMatchInlineSnapshot ( `
336
- "**Total Size Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +800B<sup>(+2.16%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +300B<sup>(+2.73%)</sup>
336
+ "**Total Size Change:** 🔺 +800B<sup>(+2.16%)</sup> - **Total Gzip Change:** 🔺 +300B<sup>(+2.73%)</sup>
337
337
Files: 2 total (0 added, 0 removed, 2 changed)
338
338
339
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +500B<sup>(+3.33%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +150B<sup>(+3.33%)</sup>
340
- **@mui/material/TextField/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +300B<sup>(+1.36%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +150B<sup>(+2.31%)</sup>
339
+ **@mui/material/Button/index.js** **parsed:** 🔺 +500B<sup>(+3.33%)</sup> **gzip:** 🔺 +150B<sup>(+3.33%)</sup>
340
+ **@mui/material/TextField/index.js** **parsed:** 🔺 +300B<sup>(+1.36%)</sup> **gzip:** 🔺 +150B<sup>(+2.31%)</sup>
341
341
<details>
342
342
<summary>Show 1 other bundle changes</summary>
343
343
344
- **@mui/icons-material/Add.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +1KB<sup>(+100.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +300B<sup>(+100.00%)</sup>
344
+ **@mui/icons-material/Add.js** **parsed:** 🔺 +1KB<sup>(+100.00%)</sup> **gzip:** 🔺 +300B<sup>(+100.00%)</sup>
345
345
346
346
</details>
347
347
@@ -371,15 +371,15 @@ describe('renderMarkdownReport', () => {
371
371
expect ( result ) . toContain ( 'Show 2 other bundle changes' ) ;
372
372
expect ( result ) . toContain ( '<details>' ) ;
373
373
expect ( result ) . toMatchInlineSnapshot ( `
374
- "**Total Size Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +400B<sup>(+2.67%)</sup> - **Total Gzip Change:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+2.22%)</sup>
374
+ "**Total Size Change:** 🔺 +400B<sup>(+2.67%)</sup> - **Total Gzip Change:** 🔺 +100B<sup>(+2.22%)</sup>
375
375
Files: 1 total (0 added, 0 removed, 1 changed)
376
376
377
- **@mui/material/Button/index.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +400B<sup>(+2.67%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+2.22%)</sup>
377
+ **@mui/material/Button/index.js** **parsed:** 🔺 +400B<sup>(+2.67%)</sup> **gzip:** 🔺 +100B<sup>(+2.22%)</sup>
378
378
<details>
379
379
<summary>Show 2 other bundle changes</summary>
380
380
381
- **@mui/icons-material/Add.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+10.00%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+16.67%)</sup>
382
- **@mui/icons-material/Delete.js** **parsed:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +100B<sup>(+8.33%)</sup> **gzip:**<sup>\${\\tiny{\\color{red}▲}}$</sup> +50B<sup>(+14.29%)</sup>
381
+ **@mui/icons-material/Add.js** **parsed:** 🔺 +100B<sup>(+10.00%)</sup> **gzip:** 🔺 +50B<sup>(+16.67%)</sup>
382
+ **@mui/icons-material/Delete.js** **parsed:** 🔺 +100B<sup>(+8.33%)</sup> **gzip:** 🔺 +50B<sup>(+14.29%)</sup>
383
383
384
384
</details>
385
385
0 commit comments