This is a basic template to make a kata using TypeScript and Vitest.
- Node LTS
Create a test file in the src
directory (example: FizzBuzz.spec.ts
) add a test and run:
To watch tests:
npm test
To watch tests with coverage:
npm run test:coverage
To run tests in continuous integration:
npm run test:ci
To check format:
npm run format
To fix format:
npm run format:fix
To check lint:
npm run lint
To fix lint:
npm run lint:fix