Skip to content

Commit

Permalink
Decrease size limit test
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Feb 25, 2020
1 parent 388d228 commit 9098a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/size-limit/test/index.test.js
Expand Up @@ -80,7 +80,7 @@ describe('Production response size', () => {
)

// These numbers are without gzip compression!
const delta = responseSizesBytes - 238 * 1024
const delta = responseSizesBytes - 237 * 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 9098a49

Please sign in to comment.