Skip to content

test(plugin-hey-api): raise coverage to 100% - #95

Merged
michaelbe812 merged 1 commit into
mainfrom
test/hey-api-coverage
Oct 5, 2026
Merged

michaelbe812 merged 1 commit into
mainfrom
test/hey-api-coverage

Conversation

@michaelbe812

Copy link
Copy Markdown
Contributor

Part of #84

  • coverage: before 97.14% branch (only files imported by specs, index.ts not counted), after 100% stmts/branch/funcs/lines over all of src
  • jest: collectCoverageFrom over src, threshold 90% branches / 100% rest
  • generate(): generatorOptions passthrough (record), no-options config, clean-before-generate order, real stale-file cleanup, root-clean refusal, error propagation, stop on first failing service
  • invokeOpenApiTs: generate vs createClient precedence, CJS default createClient, non-Error import rejection, function/null default, __esModule filtered
  • classify: no .gen suffix, all code extensions, non-code in core dirs, nested/scoped, prefix-only dirs, empty/missing dir
  • integration: real @hey-api/openapi-ts 0.99 via child node (@swc-node/register), ~1 s, skipped on node < 22.18

No production changes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@michaelbe812
michaelbe812 force-pushed the test/hey-api-coverage branch from 3644508 to 72fbd2d Compare October 5, 2026 13:07
@michaelbe812
michaelbe812 merged commit 5c9edc4 into main Oct 5, 2026
2 checks 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.

1 participant