🚨(lint) update file for prettier 3.0.0

Prettier 3.0.0 comes with new standards so we need to upgrade our files
to comply with it.
This commit is contained in:
Nathan Vasse
2023-07-18 15:43:56 +02:00
committed by NathanVss
parent 5f63c2a606
commit d85f9edac8
61 changed files with 421 additions and 419 deletions

View File

@@ -21,7 +21,7 @@ describe("range", () => {
// Check step between values.
output.forEach(
(item, index) =>
index < output.length - 1 && expect(output[index + 1] - item).eq(1)
index < output.length - 1 && expect(output[index + 1] - item).eq(1),
);
});
@@ -31,7 +31,7 @@ describe("range", () => {
[10, 0],
])("raises error if max is inferior to min", async (min, max) => {
expect(() => range(min, max)).toThrow(
"`min` arg must be inferior to `max` arg."
"`min` arg must be inferior to `max` arg.",
);
});
});