Skip to content

Commit

Permalink
Remove extra parameter from toBeCloseTo
Browse files Browse the repository at this point in the history
  • Loading branch information
marthacryan committed Jan 21, 2025
1 parent 39520c1 commit 6cc2ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jasmine/tests/sankey_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ describe('sankey tests', function() {

var g = d3Select('.hovertext');
var pos = g.node().getBoundingClientRect();
expect(pos.x).toBeCloseTo(279, -1.5, 'it should have correct x position');
expect(pos.y).toBeCloseTo(500, -1.5, 'it should have correct y position');
expect(pos.x).toBeCloseTo(279, -1.5);
expect(pos.y).toBeCloseTo(500, -1.5);
})
.then(done, done.fail);
});
Expand Down

0 comments on commit 6cc2ecc

Please sign in to comment.