toHaveClass
has incorrect types when { exact: true }
is used
#7380
Labels
feat: browser
Issues and PRs related to the browser runner
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
You can check the error here
It looks like this bug was introduced in
#7328
https://github.com/vitest-dev/vitest/pull/7328/files#diff-826106637c6076dd6dea2b15696fd38086cf5c7a20bf619a42ae7a11f3115d22R263-R264
Reproduction
Checkout adazzle/react-data-grid#3697
run
npm run typescript
I can create another example if this information is not enough
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: