Skip to content

Commit

Permalink
Update size-limit to reflect Terser downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Apr 27, 2020
1 parent 718d6a4 commit c72143d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/size-limit/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('Production response size', () => {
)

// These numbers are without gzip compression!
const delta = responseSizesBytes - 257 * 1024
const delta = responseSizesBytes - 258 * 1024
expect(delta).toBeLessThanOrEqual(1024) // don't increase size more than 1kb
expect(delta).toBeGreaterThanOrEqual(-1024) // don't decrease size more than 1kb without updating target
})
Expand Down

0 comments on commit c72143d

Please sign in to comment.