diff --git a/internal/e2e-realtime-api/src/voice.test.ts b/internal/e2e-realtime-api/src/voice.test.ts index 08be230b11..262322cc08 100644 --- a/internal/e2e-realtime-api/src/voice.test.ts +++ b/internal/e2e-realtime-api/src/voice.test.ts @@ -145,6 +145,7 @@ const handler = () => { // TODO: update this once the backend can send us // the actual result tap.equal( + // @ts-expect-error resultDetector.detect.params.event, 'finished', 'Detect digit is finished' diff --git a/packages/realtime-api/src/voice/CallPrompt.test.ts b/packages/realtime-api/src/voice/CallPrompt.test.ts index fbc5ec6725..7f2a03316e 100644 --- a/packages/realtime-api/src/voice/CallPrompt.test.ts +++ b/packages/realtime-api/src/voice/CallPrompt.test.ts @@ -13,19 +13,17 @@ describe('CallPrompt', () => { instance = createCallPromptObject({ store: configureJestStore(), emitter: new EventEmitter(), + payload: { + call_id: 'call_id', + node_id: 'node_id', + control_id: 'control_id', + }, }) // @ts-expect-error instance.execute = jest.fn() }) it('should control an active playback', async () => { - // @ts-expect-error - instance.callId = 'call_id' - // @ts-expect-error - instance.nodeId = 'node_id' - // @ts-expect-error - instance.controlId = 'control_id' - const baseExecuteParams = { method: '', params: {