Skip to content

Commit dbacbda

Browse files
committed
chore: post-merge adjustments
1 parent bd93e3d commit dbacbda

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/integration/transports/configOverrides.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ describe("Config Overrides via HTTP", () => {
493493
await startRunner({
494494
...defaultTestConfig,
495495
httpPort: 0,
496-
previewFeatures: ["vectorSearch"],
496+
previewFeatures: ["search"],
497497
allowRequestOverrides: true,
498498
});
499499

500500
await connectClient({
501-
["x-mongodb-mcp-preview-features"]: "vectorSearch",
501+
["x-mongodb-mcp-preview-features"]: "search",
502502
});
503503

504504
const response = await client.listTools();
@@ -509,7 +509,7 @@ describe("Config Overrides via HTTP", () => {
509509
await startRunner({
510510
...defaultTestConfig,
511511
httpPort: 0,
512-
previewFeatures: ["vectorSearch"],
512+
previewFeatures: ["search"],
513513
allowRequestOverrides: true,
514514
});
515515

@@ -532,7 +532,7 @@ describe("Config Overrides via HTTP", () => {
532532
// Empty array trying to override with non-empty should fail (superset)
533533
try {
534534
await connectClient({
535-
["x-mongodb-mcp-preview-features"]: "vectorSearch",
535+
["x-mongodb-mcp-preview-features"]: "search",
536536
});
537537
expect.fail("Expected an error to be thrown");
538538
} catch (error) {

tests/unit/common/config/configOverrides.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ describe("configOverrides", () => {
232232
"exportsPath",
233233
"exportCleanupIntervalMs",
234234
"allowRequestOverrides",
235+
"dryRun",
235236
]);
236237
});
237238

0 commit comments

Comments
 (0)