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 d463226 commit 221088cCopy full SHA for 221088c
packages/shell-api/src/cursor.spec.ts
@@ -804,7 +804,7 @@ describe('Cursor', function () {
804
805
it('throws with the .toArray() suggestion', function () {
806
try {
807
- shellApiCursor.toJSON();
+ JSON.stringify(shellApiCursor);
808
expect.fail('expected error');
809
} catch (e: any) {
810
expect(e).to.be.instanceOf(MongoshInvalidInputError);
0 commit comments