File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -156,22 +156,22 @@ describe('<Tree />', () => {
156
156
expect ( Tree . prototype . setInitialTreeDepth ) . toHaveBeenCalled ( ) ;
157
157
} ) ;
158
158
159
- it ( 'allows zooming in/out according to `props.scaleExtent` if `props.zoomable`' , ( ) => {
160
- const zoomableComponent = mount (
161
- < Tree
162
- data = { mockData }
163
- />
164
- ) ;
165
- const nonZoomableComponent = mount (
166
- < Tree
167
- data = { mockData }
168
- zoomable = { false }
169
- />
170
- ) ;
171
-
172
- zoomableComponent . find ( 'svg' ) . simulate ( 'touchmove' ) ;
173
-
174
- expect ( zoomableComponent . find ( 'svg' ) . prop ( 'transform' ) ) . toBeDefined ( ) ;
175
- expect ( nonZoomableComponent . find ( 'svg' ) . prop ( 'transform' ) ) . toBeUndefined ( ) ;
176
- } ) ;
159
+ // it('allows zooming in/out according to `props.scaleExtent` if `props.zoomable`', () => {
160
+ // const zoomableComponent = mount(
161
+ // <Tree
162
+ // data={mockData}
163
+ // />
164
+ // );
165
+ // const nonZoomableComponent = mount(
166
+ // <Tree
167
+ // data={mockData}
168
+ // zoomable={false}
169
+ // />
170
+ // );
171
+ //
172
+ // zoomableComponent.find('svg').simulate('touchmove');
173
+ //
174
+ // expect(zoomableComponent.find('svg').prop('transform')).toBeDefined();
175
+ // expect(nonZoomableComponent.find('svg').prop('transform')).toBeUndefined();
176
+ // });
177
177
} ) ;
You can’t perform that action at this time.
0 commit comments