fix: join error
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
0dea39e03c
commit
69b6db8bee
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue