fix: revert path change
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
69b6db8bee
commit
dfc8e6db07
1 changed files with 13 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue