
We use TypeScript both on the front end and the server functions. We come from the world of Ruby on Rails and Clean Code development and are used to unit tests. So we implemented them here. too. However, it turned out that this involves a lot of manual mocking. While this works, it seems like a huge overhead which could be abstracted away if some kind of emulator for Appwrite would be provided. Is there any such implementation? I think of something like the Firebase Local Emulator Suite (see: https://firebase.google.com/docs/emulator-suite).
At the moment we use Vitest.

you could spin up an appwrite instance to test against
Recommended threads
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
