TripleSpeederT
Convex Community15mo ago
10 replies
TripleSpeeder

"Error: Write outside of transaction" with convex-test

I'm a bit lost how i go about debugging/fixing an error only thrown inside a test. The code works fine when running against real backend, but when running through vitest with convex-test backedn I get this error: "Error: Write outside of transaction 10126;feed". There is nothing special about the code, it just does a pretty normal db.insert(...). Any ideas how to tackle this?
Was this page helpful?