Skip to content

Commit

Permalink
Remove commented tests
Browse files Browse the repository at this point in the history
  • Loading branch information
balthazar committed Jun 11, 2020
1 parent 9dc86df commit 81bfa6a
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ describe('Histogram', () => {
});

describe('Initially', () => {
// it('should have default state', () => {
// expect(wrapper.state()).toEqual({ hoveredBucket: {} });
// });

it('should have default markup', () => {
expect(toJson(wrapper)).toMatchSnapshot();
});
Expand Down Expand Up @@ -85,23 +81,6 @@ describe('Histogram', () => {
expect(tooltips.prop('y')).toEqual(27.5);
});

// it('should update state with "hoveredBucket"', () => {
// expect(wrapper.state()).toEqual({
// hoveredBucket: {
// samples: [
// {
// transactionId: '99c50a5b-44b4-4289-a3d1-a2815d128192',
// },
// ],
// style: { cursor: 'pointer' },
// xCenter: 869010,
// x0: 811076,
// x: 926944,
// y: 49,
// },
// });
// });

it('should have correct markup for tooltip', () => {
const tooltips = wrapper.find('Tooltip');
expect(toJson(tooltips)).toMatchSnapshot();
Expand Down

0 comments on commit 81bfa6a

Please sign in to comment.