Skip to content

Commit 81bfa6a

Browse files
committed
Remove commented tests
1 parent 9dc86df commit 81bfa6a

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

  • x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__

x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/Histogram.test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)