You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is an upstream bug in vitest, that can be fixed by using vitest version greater than 1.1.0 and removing @types/chai from @storybook/test dependencies.
@types/chai pollutes the global Object type by adding a should method. this breaks typechecking on any regular objects with a should property (such as query builder objects).
Describe the bug
this is an upstream bug in vitest, that can be fixed by using vitest version greater than 1.1.0 and removing
@types/chai
from@storybook/test
dependencies.@types/chai
pollutes the globalObject
type by adding ashould
method. this breaks typechecking on any regular objects with ashould
property (such as query builder objects).the issue is described in detail here vitest-dev/vitest#2118
To Reproduce
see the above link for the upstream issue.
System
Additional context
No response
The text was updated successfully, but these errors were encountered: