chore(tests): [internal] fix flake e2e screenshot spec (firefox) (#8424)

This commit is contained in:
Ben Kucera
2020-08-27 01:29:27 -04:00
committed by GitHub
parent eb28cff076
commit 3dbde654cd

View File

@@ -99,8 +99,8 @@ describe('e2e screenshots', () => {
// make sure all of the values are unique
expect(sizes).to.deep.eq(_.uniq(sizes))
// png1 should not be within 5k of png2
expect(sizes[0]).not.to.be.closeTo(sizes[1], 5000)
// png1 should not be within 3k of png2
expect(sizes[0]).not.to.be.closeTo(sizes[1], 3000)
}).then(() => {
return Promise.all([
sizeOf(screenshot1),