chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -11,10 +11,9 @@ import {
describe("msteams messenger", () => {
describe("renderReplyPayloadsToMessages", () => {
it("filters silent replies", () => {
const messages = renderReplyPayloadsToMessages(
[{ text: SILENT_REPLY_TOKEN }],
{ textChunkLimit: 4000 },
);
const messages = renderReplyPayloadsToMessages([{ text: SILENT_REPLY_TOKEN }], {
textChunkLimit: 4000,
});
expect(messages).toEqual([]);
});
@@ -150,8 +149,7 @@ describe("msteams messenger", () => {
context: ctx,
messages: ["one"],
retry: { maxAttempts: 2, baseDelayMs: 0, maxDelayMs: 0 },
onRetry: (e) =>
retryEvents.push({ nextAttempt: e.nextAttempt, delayMs: e.delayMs }),
onRetry: (e) => retryEvents.push({ nextAttempt: e.nextAttempt, delayMs: e.delayMs }),
});
expect(attempts).toEqual(["one", "one"]);