diff --git a/spec/unit/embedded.spec.ts b/spec/unit/embedded.spec.ts index dc9952465a6..a8ff7beaf74 100644 --- a/spec/unit/embedded.spec.ts +++ b/spec/unit/embedded.spec.ts @@ -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" {