Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 705 Bytes

README.md

File metadata and controls

57 lines (36 loc) · 705 Bytes

Template TypeScript Kata with Vitest

This is a basic template to make a kata using TypeScript and Vitest.

Prerequisites

Tests

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

Format

To check format:

npm run format

To fix format:

npm run format:fix

Lint

To check lint:

npm run lint

To fix lint:

npm run lint:fix