File tree Expand file tree Collapse file tree
x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ describe('Histogram', () => {
4545 } ) ;
4646
4747 describe ( 'Initially' , ( ) => {
48- // it('should have default state', () => {
49- // expect(wrapper.state()).toEqual({ hoveredBucket: {} });
50- // });
51-
5248 it ( 'should have default markup' , ( ) => {
5349 expect ( toJson ( wrapper ) ) . toMatchSnapshot ( ) ;
5450 } ) ;
@@ -85,23 +81,6 @@ describe('Histogram', () => {
8581 expect ( tooltips . prop ( 'y' ) ) . toEqual ( 27.5 ) ;
8682 } ) ;
8783
88- // it('should update state with "hoveredBucket"', () => {
89- // expect(wrapper.state()).toEqual({
90- // hoveredBucket: {
91- // samples: [
92- // {
93- // transactionId: '99c50a5b-44b4-4289-a3d1-a2815d128192',
94- // },
95- // ],
96- // style: { cursor: 'pointer' },
97- // xCenter: 869010,
98- // x0: 811076,
99- // x: 926944,
100- // y: 49,
101- // },
102- // });
103- // });
104-
10584 it ( 'should have correct markup for tooltip' , ( ) => {
10685 const tooltips = wrapper . find ( 'Tooltip' ) ;
10786 expect ( toJson ( tooltips ) ) . toMatchSnapshot ( ) ;
You can’t perform that action at this time.
0 commit comments