Testing
Testing Your App: How to Generate Fake Data
Learn how to generate fake data for your dev deployments using the Faker library

Nicolas Ettlin
3 months ago
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 article, we’ll explore options for testing React components that call Convex React hooks using mocking and dependency injection. To do this, I’ve written a sample TypeScript React app using the Vitest testing framework. The patterns presented in this post are also applicable to other JavaScript apps and frameworks.

Arnold Trakhtenberg
7 months ago