File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ describe('Build Output', () => {
9595 expect ( indexSize . endsWith ( 'B' ) ) . toBe ( true )
9696
9797 // should be no bigger than 63.9 kb
98- expect ( parseFloat ( indexFirstLoad ) ) . toBeCloseTo ( 64 , 1 )
98+ expect ( parseFloat ( indexFirstLoad ) ) . toBeCloseTo ( 64.1 , 1 )
9999 expect ( indexFirstLoad . endsWith ( 'kB' ) ) . toBe ( true )
100100
101101 expect ( parseFloat ( err404Size ) - 3.7 ) . toBeLessThanOrEqual ( 0 )
@@ -168,7 +168,7 @@ describe('Build Output', () => {
168168 expect ( parseFloat ( indexSize ) ) . toBeGreaterThanOrEqual ( 2 )
169169 expect ( indexSize . endsWith ( 'kB' ) ) . toBe ( true )
170170
171- expect ( parseFloat ( indexFirstLoad ) ) . toBeLessThanOrEqual ( 66.8 )
171+ expect ( parseFloat ( indexFirstLoad ) ) . toBeLessThanOrEqual ( 66.9 )
172172 expect ( parseFloat ( indexFirstLoad ) ) . toBeGreaterThanOrEqual ( 60 )
173173 expect ( indexFirstLoad . endsWith ( 'kB' ) ) . toBe ( true )
174174 } )
Original file line number Diff line number Diff line change @@ -81,6 +81,6 @@ describe('Production response size', () => {
8181 const delta = responseSizesBytes / 1024
8282
8383 // Expected difference: < 0.5
84- expect ( delta ) . toBeCloseTo ( 284.7 , 0 )
84+ expect ( delta ) . toBeCloseTo ( 285.3 , 0 )
8585 } )
8686} )
You can’t perform that action at this time.
0 commit comments