Skip to content

Commit

Permalink
chore(tests): Remove flaky assertion that relies on png how compressi…
Browse files Browse the repository at this point in the history
…on (#18668)
  • Loading branch information
Blue F authored and flotwig committed Nov 8, 2021
1 parent ee882eb commit 46d69c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions system-tests/test/screenshots_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ describe('e2e screenshots', () => {
.then((sizes) => {
// make sure all of the values are unique
expect(sizes).to.deep.eq(_.uniq(sizes))

// png1 should not be within 1k of png2
expect(sizes[0]).not.to.be.closeTo(sizes[1], 1000)
}).then(() => {
return Promise.all([
sizeOf(screenshot1),
Expand Down

0 comments on commit 46d69c0

Please sign in to comment.