Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion test/integration/crud/find.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {
type MongoClient,
MongoServerError,
ObjectId,
ReturnDocument
ReturnDocument,
runNodelessTests
} from '../../mongodb';
import { assert as test, filterForCommands } from '../shared';

Expand Down Expand Up @@ -1078,6 +1079,11 @@ describe('Find', function () {
'regression test (NODE-6878): CursorResponse.emptyGetMore contains all CursorResponse fields',
{ requires: { topology: 'sharded' } },
async function () {
if (runNodelessTests) {
// This test relies on sinon spying on an internal method, but this doesn't work in nodeless due to the way sinon is bundled.
this.skip();
}

const collection = client.db('rewind-regression').collection('bar');

await collection.deleteMany({});
Expand Down
Loading