chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -38,9 +38,9 @@ describe("readStringOrNumberParam", () => {
|
||||
});
|
||||
|
||||
it("throws when required and missing", () => {
|
||||
expect(() =>
|
||||
readStringOrNumberParam({}, "chatId", { required: true }),
|
||||
).toThrow(/chatId required/);
|
||||
expect(() => readStringOrNumberParam({}, "chatId", { required: true })).toThrow(
|
||||
/chatId required/,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user