I get an error in useRouteQuery and Vitest. How to solve?

16 Views Asked by At

When testing the composite function using Vitest, I get the error enter image description here

in the function I simply declare const redirectTo = useRouteQuery("redirectTo");

I would like to solve the problem with useRouteQuery

0

There are 0 best solutions below