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 testTo watch tests with coverage:
npm run test:coverageTo run tests in continuous integration:
npm run test:ciTo check format:
npm run formatTo fix format:
npm run format:fixTo check lint:
npm run lintTo fix lint:
npm run lint:fix