Skip to content

Latest commit

 

History

History
129 lines (85 loc) · 3.95 KB

README.md

File metadata and controls

129 lines (85 loc) · 3.95 KB

JS Katas

Katas

Fundamental

Array

String

Array functions

Object

Database

Array Advanced

String Advanced

Multidimensional Array

Collection

Number conversion

Recursion

Binary Tree

Setup

1. Get this repo

First, fork this repository: you'll then have a copy of this repo under your GitHub account.

Then go to wherever you store your development work, and run these commands to clone the forked repo (replace GITHUB_LOGIN with your login):

# download your code locally
git clone https://github.com/GITHUB_LOGIN/js-katas.git

# change working directory to the newly cloned repository
cd js-katas

2. Configure this repo

Prerequisites: you must have installed Node

Install the needed libraries:

npm install

Testing

1. Fundamental katas

Fundamental katas use the Node Assert testing library: https://nodejs.org/api/assert.html

node src/fundamental/kata-name/kata-name.js

2. Other katas

The other katas use the Jest testing framework: https://jestjs.io/docs/getting-started

npm test -- kata-name