We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f913b commit 679f21dCopy full SHA for 679f21d
code/frontend/src/components/Answer/Answer.test.tsx
@@ -13,7 +13,7 @@ import { conversationResponseWithCitations } from "../../../__mocks__/SampleData
13
jest.mock('microsoft-cognitiveservices-speech-sdk', () => {
14
return {
15
SpeechConfig: {
16
- fromSubscription: jest.fn(),
+ fromAuthorizationToken: jest.fn(),
17
},
18
AudioConfig: {
19
fromDefaultSpeakerOutput: jest.fn(),
@@ -51,7 +51,7 @@ const speechMockData = {
51
jest.mock("microsoft-cognitiveservices-speech-sdk", () => {
52
53
54
55
fromSpeakerOutput: jest.fn().mockReturnValue({}),
56
57
0 commit comments