1 parent cdc9a89 commit 7a2aa00Copy full SHA for 7a2aa00
1 file changed
test/mapboxgl/mapping/WebMapV2Spec.js
@@ -4180,7 +4180,9 @@ describe('mapboxgl_WebMapV2', () => {
4180
layers: [{ labelStyle: { fontFamily: '微软雅黑' } }]
4181
};
4182
const map = {
4183
- addLocalIdeographFontFamily: jasmine.createSpy('addLocalIdeographFontFamily')
+ addLocalIdeographFontFamily: jasmine.createSpy('addLocalIdeographFontFamily'),
4184
+ remove: jasmine.createSpy('remove'),
4185
+ getCRS: () => ({ epsgCode: 'EPSG:3857' })
4186
4187
await webMapV2.initializeMap(mapInfo, map);
4188
expect(webMapV2._appendLayers).toBe(true);
0 commit comments