2025-02-03 14:28:54 +01:00
2025-02-03 13:52:29 +01:00
2025-02-03 14:28:54 +01:00
2025-02-01 23:26:21 +01:00
2025-01-31 22:26:59 +01:00
2025-01-31 22:51:13 +01:00
2025-01-31 22:51:13 +01:00
2025-01-31 22:51:13 +01:00

Typescript Katas

This repository contains a collection of katas that I tried to solve to practice Typescript.

Setup

npm install

Running all tests

npm test

Running specific test files

Each kata has a tests.ts file.

To run the tests for a specific kata, run the following command:

npx mocha --import=tsx path/to/specific/tests.ts

If you're in the right folder:

npx mocha --import=tsx ./tests.ts

Adding a new kata

To add a new kata, create a new folder with the name of the kata and add the following files:

8kyu/kata-name/
  - solution.ts
  - tests.ts
  - (optional) description.md
Description
Typescript katas for codewars.com
Readme 95 KiB
Languages
TypeScript 100%