diff --git a/src/source/geojson_source.test.ts b/src/source/geojson_source.test.ts index d205f92065..f3f9042a27 100644 --- a/src/source/geojson_source.test.ts +++ b/src/source/geojson_source.test.ts @@ -302,6 +302,7 @@ describe('GeoJSONSource#update', () => { })); test('forwards Supercluster options with worker request, ignore max zoom of source', () => new Promise(done => { + jest.spyOn(console, 'warn').mockImplementation(() => {}); const mockDispatcher = wrapDispatcher({ sendAsync(message) { expect(message.type).toBe(MessageType.loadData); diff --git a/src/ui/camera.test.ts b/src/ui/camera.test.ts index 39d9eaf36d..9e6cfdeed2 100644 --- a/src/ui/camera.test.ts +++ b/src/ui/camera.test.ts @@ -3502,7 +3502,6 @@ describe('#flyTo globe projection', () => { }); camera.on('moveend', () => { - console.log(leastZoom); expect(zoomed).toBeTruthy(); done(); });