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