idempotent
idempotent2y ago

Test auth in actions with convex-test

Hi guys, how can we test Actions that require a user with convex-test?
2 Replies
Michal Srb
Michal Srb2y ago
Have you tried this: https://docs.convex.dev/functions/testing#testing-authentication-with-twithidentity Any issues? (Feel free to open a thread in #support-community )
Testing | Convex Developer Hub
Automating the testing of your Convex functions is easy.
idempotent
idempotentOP2y ago
Okay will try this, sorry did not spot this in the docs haha.

Did you find this page helpful?