Skip to content

Commit

Permalink
delete
Browse files Browse the repository at this point in the history
Signed-off-by: Shan He <heshan0131@gmail.com>
  • Loading branch information
heshan0131 committed Aug 30, 2021
1 parent 6a64ccb commit c355ee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/constants/default-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,6 @@ export const MAP_CONTROLS = keyMirror({
visibleLayers: null,
mapLegend: null,
toggle3d: null,
toggleGlobe: null,
splitMap: null,
mapDraw: null,
mapLocale: null
Expand Down
4 changes: 2 additions & 2 deletions test/browser/components/map/map-control-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// THE SOFTWARE.

import React from 'react';
import {shallow} from 'enzyme';
import {mount} from 'enzyme';
import sinon from 'sinon';
import test from 'tape';
import MapControlFactory from 'components/map/map-control';
Expand All @@ -35,7 +35,7 @@ test('MapControlFactory - display all options', t => {
const onToggleEditorVisibility = sinon.spy();
const onSetLocale = sinon.spy();

const $ = shallow(
const $ = mount(
<MapControl
mapControls={{
splitMap: {show: true},
Expand Down

0 comments on commit c355ee4

Please sign in to comment.