Skip to content

Commit 6ee85dd

Browse files
committed
chore: update tests to new error message strings
1 parent 8d5f93b commit 6ee85dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/call.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ describe('call API', () => {
201201
it('start recording', async () => {
202202
// somewhat dummy test, we should do a proper test in the future where we join a call and start recording
203203
await expect(() => call.startRecording()).rejects.toThrowError(
204-
'Stream error code 4: StartRecording failed with error: "cannot record inactive call"',
204+
'Stream error code 4: StartRecording failed with error: "there is no active session"',
205205
);
206206
});
207207

@@ -255,7 +255,7 @@ describe('call API', () => {
255255
it('start transcribing', async () => {
256256
// somewhat dummy test, we should do a proper test in the future where we join a call and start recording
257257
await expect(() => call.startTranscription()).rejects.toThrowError(
258-
'Stream error code 4: StartTranscription failed with error: "cannot transcribe inactive call"',
258+
'Stream error code 4: StartTranscription failed with error: "there is no active session"',
259259
);
260260
});
261261

0 commit comments

Comments
 (0)