Skip to content

Commit

Permalink
refactor(test): use sinon for multisource
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Mar 20, 2024
1 parent c51e64a commit 3b0709b
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Source/VectorTilesSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class VectorTilesSource extends TMSSource {
}
return (Promise.resolve([this.url]));
}).then((TMSUrlList) => {
this.url = new Set(TMSUrlList);
this.urls = Array.from(new Set(TMSUrlList));
});
}

Expand Down
Loading

0 comments on commit 3b0709b

Please sign in to comment.