Skip to content

Commit c6ae8b4

Browse files
revert mockVoiceActivity
1 parent 6884045 commit c6ae8b4

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/directLine.mock.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ const notImplemented = (): never => { throw new Error('not implemented') };
1111

1212
export const mockActivity = (text: string): DirectLineExport.Activity => ({ type: 'message', from: { id: 'sender' }, text });
1313

14-
export const mockVoiceActivity = (): DirectLineExport.Activity => ({
15-
type: 'event',
16-
from: { id: 'sender' },
17-
name: 'voiceEvent',
18-
value: {
19-
voice: {
20-
contentType: 'type',
21-
contentUrl: 'base64AudioChunk'
22-
}
23-
}
24-
});
25-
2614
// MOCK DirectLine Server (shared state used by Observable.ajax and WebSocket mocks)
2715

2816
interface ActivitySocket {

0 commit comments

Comments
 (0)