Skip to content

Commit

Permalink
skip: update 4
Browse files Browse the repository at this point in the history
  • Loading branch information
netil committed Oct 24, 2024
1 parent 2e251f8 commit 9803f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/internals/text-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1266,10 +1266,10 @@ describe("TEXT", () => {
chart = util.generate(args);

const tickNodes = chart.$.svg.select(`.${$AXIS.axisY}`).selectAll("g.tick");
const translateValues = [401, 365, 331, 295, 260, 225, 189, 154, 118, 83, 47, 12];
const translateValues = [401, 366, 331, 295, 260, 225, 189, 154, 118, 83, 47, 12];

tickNodes.each(function(d, i) {
expect(util.parseNum(this.getAttribute("transform"))).to.be.closeTo(translateValues[i], 1);
expect(util.parseNum(this.getAttribute("transform"))).to.be.closeTo(translateValues[i], 2);
});

chart.destroy();
Expand Down

0 comments on commit 9803f10

Please sign in to comment.