Skip to content

test: add unit tests for untested modules#36

Merged
MagicCube merged 5 commits into
MagicCube:mainfrom
Asthenia0412:test/complete-unit-tests
May 21, 2026
Merged

test: add unit tests for untested modules#36
MagicCube merged 5 commits into
MagicCube:mainfrom
Asthenia0412:test/complete-unit-tests

Conversation

@Asthenia0412
Copy link
Copy Markdown

I noticed a bunch of core modules didn't have any tests, so I went ahead and added them.

Mainly covers:

  • tool-result-summary, todos, skills (agent layer)
  • approval-manager, coding-approval-middleware (permissions)
  • ask-user-question, tool-result (coding tools)
  • OpenAI/Anthropic message conversion and stream accumulators
  • defineTool, StructuredToolResult (foundation)
  • settings and config schema (cli)

~135 new tests, all passing with bun test. Let me know if anything looks off.

yancy added 5 commits April 21, 2026 22:11
…i modules

- agent: tool-result-summary, todos, skills
- coding/permissions: approval-manager, coding-approval-middleware, requires-approval
- coding/tools: ask-user-question, tool-result
- community/openai: utils, stream-utils
- community/anthropic: utils, stream-utils
- foundation: defineTool, StructuredToolResult
- cli: settings, config schema
@MagicCube MagicCube merged commit 9560faa into MagicCube:main May 21, 2026
1 check passed
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.

2 participants