Skip to content

Commit 1ac9f4f

Browse files
committed
prettier
1 parent bb29be9 commit 1ac9f4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/precision-test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ describe("pixelRound", () => {
7979
assert.strictEqual(d.getUTCSeconds(), 0);
8080
});
8181
it("1 hour / 600px rounds to whole seconds", () => {
82-
const round = pixelRound(scale({type: "utc", domain: [new Date("2020-01-01T00:00Z"), new Date("2020-01-01T01:00Z")]}));
82+
const round = pixelRound(
83+
scale({type: "utc", domain: [new Date("2020-01-01T00:00Z"), new Date("2020-01-01T01:00Z")]})
84+
);
8385
const d = round(new Date("2020-01-01T00:30:15.789Z"));
8486
assert.strictEqual(d.getUTCMilliseconds(), 0);
8587
});
@@ -152,5 +154,4 @@ describe("pixelRound", () => {
152154
assertDistinct(scale({type: "symlog", domain: [-10, 10], range: [0, 200]}));
153155
});
154156
});
155-
156157
});

0 commit comments

Comments
 (0)