Skip to content

Fix RegistryTool.tests type to match TestCase #21

Description

@todo-mdx

TypeScript Error: RegistryTool.tests type is incompatible with TestCase[] causing error in api.ts line 119.

RegistryTool.tests has: { name: string; input: unknown; expect: unknown }[]
TestCase expects: { name: string; input: unknown; expect: { status: 'success' | 'error'; ... } }[]

Location: src/mcp-registry.ts line 23

TDD Steps:

  • RED: Run pnpm typecheck and observe error
  • GREEN: Update RegistryTool interface to use TestCase type from testing convention
  • REFACTOR: Ensure type exports are consistent across modules

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions