Queries and Actions shouldn't need much testing, though (especially if you're using TypeScript). The Operation's type signature and Wasp make sure everything works and is called correctly. I recommend extracting your business logic into separate functions and testing that using your preferred testing framework (also described in the above message).