Skip to content

Commit

Permalink
[fix]UT
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiao-supermap committed Jan 13, 2025
1 parent 746bde5 commit 5299a86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
6 changes: 5 additions & 1 deletion test/mapboxgl/mapping/WebMapV2Spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,11 @@ describe('mapboxgl_WebMapV2', () => {
const map = {
...commonMap,
getCRS: () => {
return null;
return {
epsgCode: 'EPSG:2326',
unit: 'degrees',
getExtent: () => [-4786700, -31721916.685568035, 35288316.685568035, 8353100]
};
}
};
datavizWebmap = new WebMap(id, {
Expand Down
13 changes: 3 additions & 10 deletions test/resources/WebMapV5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5299a86

Please sign in to comment.