# Vitest
- Used to be a [[facebook]] product, now open-js.
- Based on [[jest]], which is again based on [[jasmine]].
- Meant to be used with [[vite]].
## Usage
- happy-DOM is faster than JSDOM
- `render`, `renderHook`
- `vitest-fetch-mock`
- `waitFor` to test asynchronous functions
## Resources
- [Testing React | Brian Holt](https://react-v8.holt.courses/lessons/testing/testing-react)