v1narthV
tRPC3y ago
4 replies
v1narth

Jest set cookie with caller

Im trying to test a protectedProcedure, which validates a cookie , if the cookie isnt present, it returns 401.

Im using caller to call the endpoints inside jest tests, how i can set mock cookie for these tests?
Was this page helpful?