diff --git a/packages/shell-api/src/change-stream-cursor.spec.ts b/packages/shell-api/src/change-stream-cursor.spec.ts index fa6d6e830..83fd198e0 100644 --- a/packages/shell-api/src/change-stream-cursor.spec.ts +++ b/packages/shell-api/src/change-stream-cursor.spec.ts @@ -342,6 +342,7 @@ describe('ChangeStreamCursor', function () { it('isExhausted fails', function () { try { cursor.isExhausted(); + expect.fail('missed exception'); } catch (err: any) { expect(err.name).to.equal('MongoshInvalidInputError'); }