Skip to content

Commit a8cedb9

Browse files
chore: remove unused defaultUserConfig
1 parent 0f9de75 commit a8cedb9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/common/config/userConfig.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,3 @@ export const UserConfigSchema = z4.object({
169169
.default([])
170170
.describe("An array of preview features that are enabled."),
171171
});
172-
173-
export const defaultUserConfig = UserConfigSchema.parse({});

tests/integration/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Elicitation } from "../../src/elicitation.js";
1818
import type { MockClientCapabilities, createMockElicitInput } from "../utils/elicitationMocks.js";
1919
import { VectorSearchEmbeddingsManager } from "../../src/common/search/vectorSearchEmbeddingsManager.js";
2020
import { defaultCreateAtlasLocalClient } from "../../src/common/atlasLocal.js";
21-
import { defaultUserConfig } from "../../src/common/config/userConfig.js";
21+
import { UserConfigSchema } from "../../src/common/config/userConfig.js";
2222

2323
interface Parameter {
2424
name: string;
@@ -43,7 +43,7 @@ export interface IntegrationTest {
4343
mcpServer: () => Server;
4444
}
4545
export const defaultTestConfig: UserConfig = {
46-
...defaultUserConfig,
46+
...UserConfigSchema.parse({}),
4747
telemetry: "disabled",
4848
loggers: ["stderr"],
4949
};

0 commit comments

Comments
 (0)