Skip to content

Commit e6b0d15

Browse files
fixed typo and count
1 parent f3e1064 commit e6b0d15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/transports/stdio.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describeWithMongoDB("StdioRunner", (integration) => {
1010
beforeAll(async () => {
1111
transport = new StdioClientTransport({
1212
command: "node",
13-
args: ["dist/index.js", "--disableTools", "atlas-local"],
13+
args: ["dist/index.js", "--disabledTools", "atlas-local"],
1414
env: {
1515
MDB_MCP_TRANSPORT: "stdio",
1616
MDB_MCP_CONNECTION_STRING: integration.connectionString(),
@@ -32,7 +32,7 @@ describeWithMongoDB("StdioRunner", (integration) => {
3232
const response = await client.listTools();
3333
expect(response).toBeDefined();
3434
expect(response.tools).toBeDefined();
35-
expect(response.tools).toHaveLength(22);
35+
expect(response.tools).toHaveLength(21);
3636

3737
const sortedTools = response.tools.sort((a, b) => a.name.localeCompare(b.name));
3838
expect(sortedTools[0]?.name).toBe("aggregate");

0 commit comments

Comments
 (0)