This repository contains various implementations for testing purposes.
- Testing with
Jest - Testing with
Vitest
- Mocking external calls
- Deep mocking
- Using
mockResolvedValueto return resolved values for database calls - Using
toHaveBeenCalledWithto check the correctness of database calls
- Runs tests on
2-withDatabasefor pull requests