vitest: https://vitest.dev/api/ firestore: https://firebase.google.com/docs/reference/js/firestore_
Can you demo a project that show theses two tecnologies working togezer (vitest and firestore SDK9, and imports (no require please) ? For example, having a unit test Adding and Reading a value in firestore is OK to solve my question.
NB: My old related question: I have prefered to write a new stack-overflow question, because the old one is too complex to read: Error on having Vitest and Firestore working inside a Sveltekit project