Cilla
Cilla
CCConvex Community
Created by Cilla on 9/28/2023 in #support-community
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!
3 replies