Skip to content

Commit 71b4b99

Browse files
lint fix after rebase
1 parent 7e43d89 commit 71b4b99

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

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

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,8 @@ describe('MongoClient.close() Integration', () => {
7878
describe('Node.js resource: Server Selection Timer', () => {
7979
describe('after a Topology is created through client.connect()', () => {
8080
const metadata: MongoDBMetadataUI = { requires: { topology: 'replicaset' } };
81-
it.skip('server selection timers are cleaned up by client.close()', metdata, async () => {
82-
const run = async function ({
83-
MongoClient,
84-
uri,
85-
expect,
86-
sinon,
87-
sleep,
88-
mongodb,
89-
getTimerCount,
90-
timers
91-
}) {
81+
it.skip('server selection timers are cleaned up by client.close()', metadata, async () => {
82+
const run = async function ({ MongoClient, uri, expect, sleep, mongodb, getTimerCount }) {
9283
const serverSelectionTimeoutMS = 2222;
9384
const client = new MongoClient(uri, {
9485
minPoolSize: 1,
@@ -204,7 +195,7 @@ describe('MongoClient.close() Integration', () => {
204195
describe('Monitoring Connection', () => {
205196
describe('Node.js resource: Socket', () => {
206197
it.skip('no sockets remain after client.close()', metadata, async function () {
207-
const run = async function ({ MongoClient, uri, expect }) {
198+
const run = async function ({ MongoClient, uri, expect, getSocketEndpoints }) {
208199
const client = new MongoClient(uri);
209200
await client.connect();
210201

0 commit comments

Comments
 (0)