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
test(vitest): Add type assertions to mockImplementation calls
Add 'as any' type assertions to mockImplementation calls to fix Vitest v4 constructor compatibility.
This resolves the error: "() => mockServer is not a constructor"
The assertions are necessary because Vitest v4 changed how mock constructors work.
Added biome-ignore comments to document why 'any' is required.
0 commit comments