Skip to content

Commit 7e949ab

Browse files
committed
fix: some check failures
1 parent 3133eda commit 7e949ab

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

tests/integration/ui/mcpUIFeature.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describeWithMongoDB(
5151
describeWithMongoDB(
5252
"mcpUI feature with feature enabled",
5353
(integration) => {
54-
describe("list-databases tool", () => {
54+
describe("list-databases tool with mcpUI enabled", () => {
5555
it("should return UIResource content when mcpUI feature is enabled", async () => {
5656
await integration.connectMcpClient();
5757
const response = await integration.mcpClient().callTool({

tests/setupReact.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
import "@testing-library/jest-dom/vitest";
2-

tests/unit/toolBase.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js";
1414
import type { Server } from "../../src/server.js";
1515
import type { TelemetryToolMetadata, ToolEvent } from "../../src/telemetry/types.js";
1616
import type { PreviewFeature } from "../../src/common/schemas.js";
17-
import { UIRegistry } from "../../src/ui/registry/index.js";
17+
import { type UIRegistry } from "../../src/ui/registry/index.js";
1818

1919
function expectDefined<T>(arg: T): asserts arg is Exclude<T, undefined | null> {
2020
expect(arg).toBeDefined();

tests/unit/ui/hooks/useRenderData.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe("useRenderData", () => {
5050
expect(result.current.error).toBeNull();
5151
});
5252

53-
it("should ignore messages with different type", async () => {
53+
it("should ignore messages with different type", () => {
5454
const { result } = renderHook(() => useRenderData());
5555

5656
act(() => {

0 commit comments

Comments
 (0)