test(lotus): oxlint-clean mock in the LocalTransport refusal test

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
This commit is contained in:
Lotus CI
2026-09-19 14:35:59 -04:00
co-authored by Claude Opus 5
parent 667230f6e3
commit 2fafa3cf36
@@ -132,8 +132,11 @@ describe("LocalTransport", () => {
livekit: { livekit_service_url: "https://lk.example.org" },
});
const refused = new SFUTokenRefusedError("This voice channel is full.");
vi.spyOn(openIDSFU, "getSFUConfigWithOpenID").mockImplementation(() =>
Promise.reject(refused),
vi.spyOn(openIDSFU, "getSFUConfigWithOpenID").mockImplementation(
async () => {
await Promise.resolve();
throw refused;
},
);
const errors: Error[] = [];
const { active$ } = createLocalTransport$({