Skip to content

Commit

Permalink
test(VectorTileSource): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Oct 29, 2024
1 parent 302ac4b commit 518f149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/vectortiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import sprite from '../data/vectortiles/sprite.json';
import mapboxStyle from '../data/mapboxMulti.json';

const resources = {
'test/data/vectortiles/style.json': style,
'https://test/data/vectortiles/style.json': style,
'https://test/tilejson.json': tilejson,
'https://test/sprite.json': sprite,
'https://api.mapbox.com/v4/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7.json': mapboxStyle,
Expand Down Expand Up @@ -187,7 +187,7 @@ describe('VectorTilesSource', function () {

it('loads the style from a file', function _it(done) {
const source = new VectorTilesSource({
style: 'test/data/vectortiles/style.json',
style: 'https://test/data/vectortiles/style.json',
});
source.whenReady
.then(() => {
Expand Down

0 comments on commit 518f149

Please sign in to comment.