Join Slack
Powered by
Hey guys, could someone help me to understand how ...
# random
r
Roman Mahotskyi
04/23/2022, 5:11 PM
Hey guys, could someone help me to understand how to write unit tests for functions which use
prisma.$transaction
? I created
a question
on StackOverflow.
Update
Maybe I'm doing wrong by trying to mock intermediate
Promises
and would be better to mock
prisma.$transaction
itself. What do you think?
Open in Slack
Previous
Next