danscotton / selector-exercises

Understand functional programming concepts by making the tests pass!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

selector-exercises

Getting started

Install dependencies:

npm install

Run the tests:

npm test

Project layout

There is a top-level test directory which contains test files numbered sequentially from 001.test.js to 00N.test.js.

test
├── 001.test.js
└── 002.test.js
└── ...
└── 00N.test.js

The idea is to make the tests pass in order. Later tests will depend upon code written to solve earlier tests.

Jest is being used as the test runner. It's set with the following flags:

jest --bail --runInBand

--bail means the jest will stop at the first failed test. --runInBand ensures that the tests run sequentially.

About

Understand functional programming concepts by making the tests pass!


Languages

Language:JavaScript 100.0%