mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:08:28 +00:00
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