Skip to content

Commit 37a2e40

Browse files
remove stray only
1 parent dd05cc8 commit 37a2e40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/integration/node-specific/client_close.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { type Collection, type FindCursor, type MongoClient } from '../../mongod
55
import { type TestConfiguration } from '../../tools/runner/config';
66
import { runScriptAndGetProcessInfo } from './resource_tracking_script_builder';
77

8-
describe.only('MongoClient.close() Integration', () => {
8+
describe('MongoClient.close() Integration', () => {
99
// note: these tests are set-up in accordance of the resource ownership tree
1010

1111
let config: TestConfiguration;
@@ -745,7 +745,8 @@ describe.only('MongoClient.close() Integration', () => {
745745
cursor: {},
746746
pipeline: [{ $currentOp: { idleCursors: true } }]
747747
});
748-
const isCursor = (r) => ((r.type === 'idleCursor') || (r.type === 'op' && r.desc === 'getMore'));
748+
const isCursor = r =>
749+
r.type === 'idleCursor' || (r.type === 'op' && r.desc === 'getMore');
749750
return res.cursor.firstBatch.filter(r => isCursor(r) && r.ns === 'close.cursorCleanUp');
750751
};
751752

0 commit comments

Comments
 (0)