fix: join error

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2024-01-25 21:11:37 -05:00
parent 0dea39e03c
commit 69b6db8bee

View file

@ -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);