Skip to content

fix: align GLOBAL_FLAGS unit test with limit removal#108

Merged
vobu merged 2 commits intorefactor/search-feedbackfrom
copilot/sub-pr-106
Feb 27, 2026
Merged

fix: align GLOBAL_FLAGS unit test with limit removal#108
vobu merged 2 commits intorefactor/search-feedbackfrom
copilot/sub-pr-106

Conversation

Copy link
Contributor

Copilot AI commented Feb 27, 2026

After limit was correctly removed from GLOBAL_FLAGS (it's only valid for search variable), the unit test still asserted GLOBAL_FLAGS.has('limit'), breaking CI.

Changes

  • tests/unit/search-feedback.test.ts: Remove the stale GLOBAL_FLAGS.has('limit') assertion; replace with an explicit negative test documenting that limit is intentionally absent from global flags and scoped only to SEARCH_RESOURCE_FLAGS['variable']

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: vobu <6573426+vobu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add unknown flag detection and enhance search result messaging fix: align GLOBAL_FLAGS unit test with limit removal Feb 27, 2026
@vobu vobu marked this pull request as ready for review February 27, 2026 15:07
@vobu vobu merged commit 870c433 into refactor/search-feedback Feb 27, 2026
1 check passed
@vobu vobu deleted the copilot/sub-pr-106 branch February 27, 2026 15:08
vobu added a commit that referenced this pull request Feb 27, 2026
…aging (#106)

(ping back to camunda/product-hub#2638 for ref)

* feat: implement unknown flag detection and enhance search result messaging

* chore: update src/commands/search.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update src/commands/search.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: align GLOBAL_FLAGS unit test with limit removal (#108)

* Initial plan

* fix: update GLOBAL_FLAGS test to reflect limit removal from global flags

Co-authored-by: vobu <6573426+vobu@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vobu <6573426+vobu@users.noreply.github.com>

* fix: correct version property reference in main function

* feat: export API_DEFAULT_PAGE_SIZE and enhance log functions for better feedback

* fix: improve CLI invocation handling with realpathSync for symlink resolution

* test: add integration tests for global install and symlink invocation

* fix: update symlink handling in integration tests for clarity and accuracy

* fix: skip global-install tests gracefully when dist/index.js is absent (#109)

* Initial plan

* fix: skip global-install tests when dist/index.js is absent (CI fix)

Co-authored-by: vobu <6573426+vobu@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vobu <6573426+vobu@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
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