Skip to content

Commit

Permalink
Update size
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Jun 1, 2021
1 parent d39e7d1 commit 904a99d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/build-output/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ describe('Build Output', () => {
)
expect(indexSize.endsWith('B')).toBe(true)

expect(parseFloat(indexFirstLoad)).toBeCloseTo(gz ? 64.2 : 195, 1)
expect(parseFloat(indexFirstLoad)).toBeCloseTo(gz ? 64.2 : 197, 1)
expect(indexFirstLoad.endsWith('kB')).toBe(true)

expect(parseFloat(err404Size)).toBeCloseTo(gz ? 3.06 : 8.15, 1)
expect(err404Size.endsWith('kB')).toBe(true)

expect(parseFloat(err404FirstLoad)).toBeCloseTo(gz ? 66.3 : 202, 1)
expect(parseFloat(err404FirstLoad)).toBeCloseTo(gz ? 67 : 202, 1)
expect(err404FirstLoad.endsWith('kB')).toBe(true)

expect(parseFloat(sharedByAll)).toBeCloseTo(gz ? 63.2 : 194, 1)
Expand Down

0 comments on commit 904a99d

Please sign in to comment.