test(lotus): satisfy oxlint require-await 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:03 -04:00
co-authored by Claude Opus 5
parent d881833491
commit 746917a4c6
@@ -132,10 +132,8 @@ describe("LocalTransport", () => {
livekit: { livekit_service_url: "https://lk.example.org" },
});
const refused = new SFUTokenRefusedError("This voice channel is full.");
vi.spyOn(openIDSFU, "getSFUConfigWithOpenID").mockImplementation(
async () => {
throw refused;
},
vi.spyOn(openIDSFU, "getSFUConfigWithOpenID").mockImplementation(() =>
Promise.reject(refused),
);
const errors: Error[] = [];
const { active$ } = createLocalTransport$({