fix: revert path change

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

View file

@ -1,5 +1,3 @@
import { join } from 'path';
var testTile = function (
prefix,
tileSize = 256,
@ -12,7 +10,19 @@ var testTile = function (
type,
) {
if (scale) y += '@' + scale + 'x';
var path = join('/styles', prefix, tileSize, z, x, `${y}.${format}`);
var path =
'/styles/' +
prefix +
'/' +
tileSize +
'/' +
z +
'/' +
x +
'/' +
y +
'.' +
format;
it(path + ' returns ' + status, function (done) {
var test = supertest(app).get(path);
test.expect(status);