Skip to content

Commit 1a7eded

Browse files
committed
pr feedback: use a simpler conditional
1 parent 738dedb commit 1a7eded

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

test/integration/crud/find.test.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ import {
88
type MongoClient,
99
MongoServerError,
1010
ObjectId,
11-
ReturnDocument,
12-
runNodelessTests
11+
ReturnDocument
1312
} from '../../mongodb';
1413
import { assert as test, filterForCommands } from '../shared';
15-
import { platform } from 'os';
1614

1715
describe('Find', function () {
1816
let client: MongoClient;
@@ -1078,13 +1076,9 @@ describe('Find', function () {
10781076

10791077
it(
10801078
'regression test (NODE-6878): CursorResponse.emptyGetMore contains all CursorResponse fields',
1081-
{ requires: { topology: 'sharded' } },
1079+
// TODO: NODE-7511 - unskip test for NODE-6878 in Windows
1080+
{ requires: { topology: 'sharded', os: '!win32' } },
10821081
async function () {
1083-
if (platform() === 'win32') {
1084-
// TODO: NODE-7511 - unskip test for NODE-6878 in Windows
1085-
this.skip();
1086-
}
1087-
10881082
const collection = client.db('rewind-regression').collection('bar');
10891083

10901084
await collection.deleteMany({});

0 commit comments

Comments
 (0)