Skip to content

fix: update built-in-commands tests for plugin command#11980

Draft
roomote-v0[bot] wants to merge 1 commit intofeature/plugin-system-11974from
fix/plugin-system-tests-11974
Draft

fix: update built-in-commands tests for plugin command#11980
roomote-v0[bot] wants to merge 1 commit intofeature/plugin-system-11974from
fix/plugin-system-tests-11974

Conversation

@roomote-v0
Copy link
Copy Markdown
Contributor

@roomote-v0 roomote-v0 bot commented Mar 23, 2026

This PR fixes the failing CI tests on PR #11975 (which addresses Issue #11974).

Problem

The built-in-commands.spec.ts tests were asserting exactly 1 built-in command (init), but the plugin system PR added a second built-in command (plugin). This caused 2 test failures on both Ubuntu and Windows CI.

Changes

  • Updated getBuiltInCommands test to expect 2 commands (init and plugin)
  • Updated getBuiltInCommandNames test to expect 2 names
  • Added content validation for the plugin command (verifies it references plugin.json and PluginManager)

All 33 tests pass locally (8 built-in-commands + 25 plugin system tests).

Feedback and guidance are welcome.

Interactively review PR in Roo Code Cloud

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.

1 participant