Skip to content

chore(search): fix self-referential test count after repository metadata addition - #565

Merged
aversini merged 1 commit into
mainfrom
chore_search_fix_self_referential_test_count
May 30, 2026
Merged

aversini merged 1 commit into
mainfrom
chore_search_fix_self_referential_test_count

Conversation

@aversini

Copy link
Copy Markdown
Collaborator

Summary

Fixes the search test that broke after #564 added repository metadata to all packages.

core.test.ts runs the search tool against the search package's own package.json, grepping case-insensitively for type, and asserted 5 occurrences. The new repository block introduced a "type": "git" line, bringing the real count to 6. Updated the expectation to match.

Verification

pnpm test:coverage for @node-cli/search now passes (100% statements/functions/lines).

Note: a separate, pre-existing bundlesize gzip-size test failure is unrelated to this change and not addressed here.

🤖 Generated with Claude Code

…ata addition

The grep test in core.test.ts searches the search package's own
package.json (case-insensitive pattern "type") and asserted 5 matches.
Adding the repository block in #564 introduced a "type": "git" line,
making it 6. Update the expected count accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aversini
aversini merged commit bd3002e into main May 30, 2026
4 checks passed
@aversini
aversini deleted the chore_search_fix_self_referential_test_count branch May 30, 2026 16:03
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