How to make a unit testing helper? - TanStack