Skip to content

Fix RegistryTool.tests type to match TestCase #21

@todo-mdx

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

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