File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/integration/build-output/test Expand file tree Collapse file tree 1 file changed +2
-2
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 ( 63.9 , 1 )
98+ expect ( parseFloat ( indexFirstLoad ) ) . toBeCloseTo ( 64 , 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.7 )
171+ expect ( parseFloat ( indexFirstLoad ) ) . toBeLessThanOrEqual ( 66.8 )
172172 expect ( parseFloat ( indexFirstLoad ) ) . toBeGreaterThanOrEqual ( 60 )
173173 expect ( indexFirstLoad . endsWith ( 'kB' ) ) . toBe ( true )
174174 } )
You can’t perform that action at this time.
0 commit comments