Testing TypeScript/JavaScript

Good reading

Types of tests

Static

For static testing, use tools such as ESLint and TypeScript

Unit

For unit testing, use Vitest

Integration

For integration testing, use Vitest or Cypress

End-to-end

For E2E testing, use Cypress