@@ -3,12 +3,10 @@ import { Server } from "../../../../src/server.js";
3
3
import { runMongoDB , setupIntegrationTest , validateToolResponse } from "../../helpers.js" ;
4
4
import runner from "mongodb-runner" ;
5
5
6
- import defaultState from "../../../../src/state.js" ;
7
6
import config from "../../../../src/config.js" ;
8
7
9
8
describe ( "Connect tool" , ( ) => {
10
9
let client : Client ;
11
- let server : Server ;
12
10
let serverClientTeardown : ( ) => Promise < void > ;
13
11
14
12
let cluster : runner . MongoCluster ;
@@ -27,7 +25,7 @@ describe("Connect tool", () => {
27
25
28
26
describe ( "with default config" , ( ) => {
29
27
beforeEach ( async ( ) => {
30
- ( { client, server , teardown : serverClientTeardown } = await setupIntegrationTest ( ) ) ;
28
+ ( { client, teardown : serverClientTeardown } = await setupIntegrationTest ( ) ) ;
31
29
} ) ;
32
30
33
31
it ( "should have correct metadata" , async ( ) => {
@@ -88,7 +86,7 @@ describe("Connect tool", () => {
88
86
beforeEach ( async ( ) => {
89
87
config . connectionString = cluster . connectionString ;
90
88
91
- ( { client, server , teardown : serverClientTeardown } = await setupIntegrationTest ( ) ) ;
89
+ ( { client, teardown : serverClientTeardown } = await setupIntegrationTest ( ) ) ;
92
90
} ) ;
93
91
94
92
it ( "uses the connection string from config" , async ( ) => {
0 commit comments