From f1e640d2315cd577ccfc55ab1da3d96b223dd345 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Thu, 14 Jul 2022 11:13:59 +0100 Subject: [PATCH] Tests: catch potential failures during tile unzip --- test/unit/tile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/unit/tile.js b/test/unit/tile.js index 9b09a527..17f666c1 100644 --- a/test/unit/tile.js +++ b/test/unit/tile.js @@ -915,7 +915,8 @@ describe('Tile', function () { extractZip(container, { dir: path.dirname(extractTo) }) .then(() => { assertDeepZoomTiles(directory, 256, 13, done); - }); + }) + .catch(done); }); }); }); @@ -945,7 +946,8 @@ describe('Tile', function () { extractZip(container, { dir: path.dirname(extractTo) }) .then(() => { assertDeepZoomTiles(directory, 256, 13, done); - }); + }) + .catch(done); }); }); });