Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian de Bhal committed Mar 17, 2021
1 parent e007c69 commit 8897604
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/snapshot.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,6 @@ test("add_to_queue: image dimensions should be equal to screenHeight and screenW
const image = sharp(tempFile);
const metadata = await image.metadata();

expect(metadata.width).toEqual(1280);
expect(metadata.height).toEqual(720);

// snapshot polls the queue every 1000ms and screenshots take some time
// use 8000ms because longer screenshots need more time

const image = sharp(tempFile);
const metadata = await image.metadata();

expect(metadata.width).toEqual(site.screenWidth);
expect(metadata.height).toEqual(site.screenHeight);
// use 10000ms timeout because longer screenshots need more time
Expand Down

0 comments on commit 8897604

Please sign in to comment.