fix(sfu): let ICE use UDP relay again (TCP-only stalled DTLS handshake) #75
Annotations
3 errors
|
build
Process completed with exit code 1.
|
|
build
@pairux/desktop#test: command (/home/runner/work/pairux.com/pairux.com/apps/desktop) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
|
|
src/renderer/hooks/useWebRTCHostSFUAPI.test.ts:
apps/desktop/src/renderer/hooks/useWebRTCHostSFUAPI.ts#L26
Error: [vitest] No "setLogLevel" export is defined on the "livekit-client" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("livekit-client"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/renderer/hooks/useWebRTCHostSFUAPI.ts:26:1
❯ src/renderer/hooks/useWebRTCHostSFUAPI.test.ts:40:25
|