Skip to content

Commit

Permalink
Fix embedded client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Nov 1, 2024
1 parent ebe75fe commit 869c438
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/unit/embedded.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ class MockWidgetApi extends EventEmitter {
public getTurnServers = jest.fn(() => []);
public sendContentLoaded = jest.fn();

public transport = { reply: jest.fn() };
public transport = {
reply: jest.fn(),
send: jest.fn(),
sendComplete: jest.fn(),
};
}

declare module "../../src/types" {
Expand Down

0 comments on commit 869c438

Please sign in to comment.