How to test React Components that use Convex?
Is there a mock React client or something I can use?
1 Reply
Arnold wrote up a post on testing components by using a Mock he wrote, which is included in the post: https://stack.convex.dev/testing-react-components-with-convex
Testing React Components with Convex
Oftentimes during testing we want to mock out our backend so we can unit test our UI components without talking to our actual server code.
In this ar...