Mordsith
Mordsith6mo ago

ConvexTest setup error

I followed the guide here https://docs.convex.dev/testing/convex-test but I get this error when I try to run a test. The _generated folder exists.
convex-test | Convex Developer Hub
The convex-test library provides a mock implementation of the Convex backend
No description
2 Replies
Mordsith
MordsithOP6mo ago
The convex-test package documentation is missing important information like how to use the second parameters if your functions are in nested folders. I think this may be the source of my problem More contexts... Project is a monorepo
Michal Srb
Michal Srb6mo ago
It's documented in the next section after this one: https://docs.convex.dev/testing/convex-test#multiple-environments
convex-test | Convex Developer Hub
The convex-test library provides a mock implementation of the Convex backend
No description

Did you find this page helpful?