Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyoshiaki committed Jan 1, 2024
1 parent 95b29b2 commit 9930feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests/ice/restart.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("ice/restart", () => {
peer.on("request", async (request, accept) => {
if (request.method !== label) return;
const candidate = request.data;
await pc.addIceCandidate(candidate);
await pc.addIceCandidate(candidate).catch(() => {});
accept();
});

Expand Down Expand Up @@ -106,7 +106,7 @@ describe("ice/restart", () => {
peer.on("request", async (request, accept) => {
if (request.method !== label) return;
const candidate = request.data;
await pc.addIceCandidate(candidate);
await pc.addIceCandidate(candidate).catch(() => {});
accept();
});

Expand Down

0 comments on commit 9930feb

Please sign in to comment.