Skip to content

Conversation

@G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Dec 24, 2025

This brings over most of the test suite from eslint-plugin-jest, with the main exception being our tests for ensuring the rule is graceful when @typescript-eslint/eslint-plugin is not available as those involve mocking with jest.requireActual which in Vitest looks to be async but we're not running in an async context.

I've also identified a bug and have one other test that is not working correctly which I've marked as a todo but suspect I know the reason for.

Ultimately, this takes us from "no test coverage" to "mostly covered", so it's an improvement regardless of the above 😄

@veritem veritem merged commit e5a25fa into vitest-dev:main Dec 31, 2025
5 checks passed
@G-Rath G-Rath deleted the update-tests branch December 31, 2025 17:17
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