Skip to content

Conversation

@ThisIsMissEm
Copy link
Contributor

c8 was giving misleading coverage reports for files containing jsx, which made assessing where we were at with test coverage difficult.

I also tried using nyc, one-double-zero and borp, but all these didn't work or give good results either.

This does mean we're no longer using node:test, and I have encountered some issues in watch mode with database deadlocks that don't normally occur in full runs, so I think vitest may not always be running sequentially.

"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": true
"noPropertyAccessFromIndexSignature": false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dahlia I disabled this because it conflicts with biome's rules.

@ThisIsMissEm ThisIsMissEm force-pushed the fix/code-coverage-errors branch from 20f345b to 48d189b Compare May 25, 2025 19:20
This was referenced May 25, 2025
Copy link
Member

@dahlia dahlia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really thanks for your huge work!

@dahlia dahlia merged commit 65c2b11 into fedify-dev:main May 25, 2025
2 checks passed
@ThisIsMissEm ThisIsMissEm deleted the fix/code-coverage-errors branch June 4, 2025 16:40
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