Skip to content

test: add unit tests for ActionExecutor tool dispatch and payload passthrough (Issue #115) - #202

Open
rafaio1 wants to merge 1 commit into
Lilly-Protocol:mainfrom
rafaio1:bounty/issue-115-action-executor-dispatch
Open

test: add unit tests for ActionExecutor tool dispatch and payload passthrough (Issue #115)#202
rafaio1 wants to merge 1 commit into
Lilly-Protocol:mainfrom
rafaio1:bounty/issue-115-action-executor-dispatch

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

Adds unit tests verifying ActionExecutor correctly dispatches to registered tools by name, passes payload and context through without modification, handles async tools, and throws on unregistered tool names.

Tests Added

  • ✅ Dispatches to correct registered tool by name
  • ✅ Payload passed through to tool execute without modification
  • ✅ Context passed through to tool execute
  • ✅ Throws TOOL_NOT_FOUND for unregistered tool names
  • ✅ Returns async tool results correctly

Verification

All 5 tests pass locally via npx vitest run tests/actions/action-executor.test.ts.

Closes #115

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty: $35] Add unit tests for ActionExecutor tool dispatch and payload passthrough

1 participant