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

@@ -65,9 +65,7 @@ describe("voice-call plugin", () => {
})),
speak: vi.fn(async () => ({ success: true })),
endCall: vi.fn(async () => ({ success: true })),
getCall: vi.fn((id: string) =>
id === "call-1" ? { callId: "call-1" } : undefined,
),
getCall: vi.fn((id: string) => (id === "call-1" ? { callId: "call-1" } : undefined)),
getCallByProviderCallId: vi.fn(() => undefined),
},
stop: vi.fn(async () => {}),
@@ -165,10 +163,9 @@ describe("voice-call plugin", () => {
resolvePath: (p: string) => p,
});
await program.parseAsync(
["voicecall", "start", "--to", "+1", "--message", "Hello"],
{ from: "user" },
);
await program.parseAsync(["voicecall", "start", "--to", "+1", "--message", "Hello"], {
from: "user",
});
expect(logSpy).toHaveBeenCalled();
logSpy.mockRestore();
});