Skip to content

Commit 6d044f2

Browse files
committed
chore: test if start transcribing test works if I wait 3sec
1 parent 6a2cbac commit 6d044f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

__tests__/call.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ describe('call API', () => {
230230

231231
describe('transcriptions', () => {
232232
it('start transcribing', async () => {
233+
await new Promise((resolve) => setTimeout(resolve, 3000));
233234
// somewhat dummy test, we should do a proper test in the future where we join a call and start recording
234235
await expect(() => call.startTranscription()).rejects.toThrowError(
235236
'Stream error code 4: StartTranscription failed with error: "there is no active session"',

0 commit comments

Comments
 (0)