TripleSpeederT
Convex Community3y ago
3 replies
TripleSpeeder

Does anyone here have success/working

Does anyone here have success/working example how to mock convex hooks? I tried to follow the injection test example with
fakeConvexClient
from convex-helpers repo. But no matter how i try to set it up I get the error
TypeError: Cannot convert object to primitive value at Object.localQueryResult
. This also happens if you run tests in the convex-helpers repo, so probably
fakeConvexClient
class is outdated...
Was this page helpful?