nikxda
PPrisma
•Created by nikxda on 1/10/2025 in #help-and-questions
Mocking Prisma with Bun
(apart from rolling my own)
7 replies
PPrisma
•Created by nikxda on 1/10/2025 in #help-and-questions
Mocking Prisma with Bun
Yeah, I am aware. I'm not sure how compat issues would lead to this error but I can't find any more details on the error in the Jest codebase either... so it might be Bun. Is there another way of deep mocking Prisma with the Bun test runner?
7 replies
PPrisma
•Created by nikxda on 1/10/2025 in #help-and-questions
Mocking Prisma with Bun
Hey Nurul, thanks for jumping in. I haven't tried with plain Node as setting that up would be quite a bit of pain in terms of getting TypeScript and imports to work in our project. Unfortunately we have settled on Bun, so it's what I have to work with. But I do think this is a Bun or setup issue, not a Node one
7 replies