Skip to content

Commit

Permalink
give more time to slower projections
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Jun 10, 2024
1 parent 9994ed9 commit 8000a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/snapshot-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const {readFile, writeFile} = promises;
mkdirSync("./test/snapshots", {recursive: true});

for (const [name, snapshot] of Object.entries(snapshots)) {
it(`snapshot ${name}`, async () => {
it(`snapshot ${name}`, async function() {
this.timeout(10000);
const canvas = await snapshot();
const actual = PNG.sync.read(canvas.toBuffer());
const outfile = resolve("./test/snapshots", `${name}.png`);
Expand Down

0 comments on commit 8000a48

Please sign in to comment.