We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b46082f commit 3abd5bcCopy full SHA for 3abd5bc
test/mapboxgl/mapping/WebMapSpec.js
@@ -50,8 +50,8 @@ describe('mapboxgl_WebMap', () => {
50
expect(map).not.toBe(null);
51
expect(map.getZoom()).toBe(0);
52
var center = map.getCenter();
53
- expect(center.lat.toFixed(4)).toEqual(4.2149);
54
- expect(center.lng.toFixed(4)).toEqual(110);
+ expect(+center.lat.toFixed(4)).toEqual(4.2149);
+ expect(+center.lng.toFixed(4)).toEqual(110);
55
expect(datavizWebmap.mapParams.title).toBe('tianditu');
56
expect(datavizWebmap.mapParams.description).toBe('');
57
datavizWebmap.map = null;
0 commit comments