Skip to content

Commit

Permalink
Fix issue with RangeBarChart test (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
acmei authored Jun 18, 2020
1 parent 537a351 commit 3a1ad5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jsdom/spec/RangeBarChart.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('RangeBarChart', () => {

expect(bars.at(1).props().x).to.equal(50 - props.barThickness / 2);
expect(bars.at(1).props().width).to.equal(props.barThickness);
expect(bars.at(1).props().y).to.equal(10);
expect(Math.round(bars.at(1).props().y)).to.equal(10);
expect(bars.at(1).props().height).to.equal(30);
});

Expand Down

0 comments on commit 3a1ad5f

Please sign in to comment.