We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f36b754 commit a895ef7Copy full SHA for a895ef7
1 file changed
test/integration/crud/find.test.ts
@@ -8,7 +8,8 @@ import {
8
type MongoClient,
9
MongoServerError,
10
ObjectId,
11
- ReturnDocument
+ ReturnDocument,
12
+ runNodelessTests
13
} from '../../mongodb';
14
import { assert as test, filterForCommands } from '../shared';
15
@@ -1078,6 +1079,11 @@ describe('Find', function () {
1078
1079
'regression test (NODE-6878): CursorResponse.emptyGetMore contains all CursorResponse fields',
1080
{ requires: { topology: 'sharded' } },
1081
async function () {
1082
+ if (runNodelessTests) {
1083
+ // This test relies on sinon spying on an internal method, but this doesn't work in nodeless due to the way sinon is bundled.
1084
+ this.skip();
1085
+ }
1086
+
1087
const collection = client.db('rewind-regression').collection('bar');
1088
1089
await collection.deleteMany({});
0 commit comments