CillaC
Convex Community3y ago
2 replies
Cilla

API tests

What's the latest take on API tests? I've read "Testing React Components with Convex" (https://stack.convex.dev/testing-react-components-with-convex), but I'm wondering:
Is there a way to test my mutation and query functions directly? Eg not using the strategies suggested in the article Method 1. replace the internal useQuery and
useMutation
or Method 2. use dependency injection.

Thanks!
Was this page helpful?