File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/integration/transports Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ describeWithMongoDB("StdioRunner", (integration) => {
10
10
beforeAll ( async ( ) => {
11
11
transport = new StdioClientTransport ( {
12
12
command : "node" ,
13
- args : [ "dist/index.js" , "--disableTools " , "atlas-local" ] ,
13
+ args : [ "dist/index.js" , "--disabledTools " , "atlas-local" ] ,
14
14
env : {
15
15
MDB_MCP_TRANSPORT : "stdio" ,
16
16
MDB_MCP_CONNECTION_STRING : integration . connectionString ( ) ,
@@ -32,7 +32,7 @@ describeWithMongoDB("StdioRunner", (integration) => {
32
32
const response = await client . listTools ( ) ;
33
33
expect ( response ) . toBeDefined ( ) ;
34
34
expect ( response . tools ) . toBeDefined ( ) ;
35
- expect ( response . tools ) . toHaveLength ( 22 ) ;
35
+ expect ( response . tools ) . toHaveLength ( 21 ) ;
36
36
37
37
const sortedTools = response . tools . sort ( ( a , b ) => a . name . localeCompare ( b . name ) ) ;
38
38
expect ( sortedTools [ 0 ] ?. name ) . toBe ( "aggregate" ) ;
You can’t perform that action at this time.
0 commit comments