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
Vitest provides its own suite for testing types, which would be good to switch our tests over to.
We need to make sure we can get the same checks and safety, but it looks like toEqualTypeOf is equivalent to expectExactType and toMatchTypeOf is equivalent to expectType.
The text was updated successfully, but these errors were encountered:
From my experience toEqualTypeOf and expectExactType don't seem to be 100% interchanchable. toEqualTypeOf seems to be slightly more strict/accurate than expectExactType but I could be wrong. I can go ahead and get started on the conversion.
Vitest provides its own suite for testing types, which would be good to switch our tests over to.
We need to make sure we can get the same checks and safety, but it looks like
toEqualTypeOf
is equivalent toexpectExactType
andtoMatchTypeOf
is equivalent toexpectType
.The text was updated successfully, but these errors were encountered: