Jest is a delightful JavaScript Testing Framework with a focus on simplicity. Getting Started
npm install --save-dev jest
It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more!
Vitest is a framework for writing and running unit tests for frontend applications, built on top of Vite. Vite is a fast and efficient frontend build tool, using native ES modules on the browser and Rollup to bundle. Vitest can help you create test cases easily and quickly, with hot-module reloading and plugin system.. Getting Started
npm install -D vitest