From 69b6db8bee330441bfa89b3f9a123292ece1c523 Mon Sep 17 00:00:00 2001 From: Andrew Calcutt Date: Thu, 25 Jan 2024 21:11:37 -0500 Subject: [PATCH] fix: join error Signed-off-by: Andrew Calcutt --- test/tiles_rendered.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tiles_rendered.js b/test/tiles_rendered.js index 6a963cc..daf44db 100644 --- a/test/tiles_rendered.js +++ b/test/tiles_rendered.js @@ -1,4 +1,4 @@ -import path from 'path'; +import { join } from 'path'; var testTile = function ( prefix, @@ -12,7 +12,7 @@ var testTile = function ( type, ) { if (scale) y += '@' + scale + 'x'; - var path = path.join('/styles', prefix, tileSize, z, x, `${y}.${format}`); + var path = join('/styles', prefix, tileSize, z, x, `${y}.${format}`); it(path + ' returns ' + status, function (done) { var test = supertest(app).get(path); test.expect(status);