Skip to content

test: achieve 100% test coverage for core#14

Merged
lukTS merged 1 commit into
mainfrom
test/100-coverage
May 22, 2026
Merged

test: achieve 100% test coverage for core#14
lukTS merged 1 commit into
mainfrom
test/100-coverage

Conversation

@lukTS
Copy link
Copy Markdown
Owner

@lukTS lukTS commented May 22, 2026

What

Configure coverage reporting and achieve 100% test coverage for the core package.

Changes

  • Add @vitest/coverage-v8 with text + HTML reporters
  • Add test:coverage script
  • Configure coverage include/exclude (exclude type-only files)
  • Import from index.js in tests to cover barrel exports
  • 100% statements, branches, functions, lines (58/58)

Closes #8

- Add @vitest/coverage-v8 and test:coverage script
- Configure coverage include/exclude in root vitest config
- Import from index.js in tests to cover barrel exports
- Exclude type-only files from coverage report
- 100% statements, branches, functions, lines

Closes #8
@lukTS lukTS added this to the v0.1.0 milestone May 22, 2026
@lukTS lukTS self-assigned this May 22, 2026
@lukTS lukTS added the enhancement New feature or request label May 22, 2026
@lukTS lukTS merged commit 0b15237 into main May 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: achieve 100% test coverage for core

1 participant