From 8000a483041c5c376e3ef05c69a68513409d1e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Sun, 9 Jun 2024 19:58:12 +0200 Subject: [PATCH] give more time to slower projections --- test/snapshot-test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/snapshot-test.js b/test/snapshot-test.js index 7d032dd..b7f2f06 100644 --- a/test/snapshot-test.js +++ b/test/snapshot-test.js @@ -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`);