Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 753 Bytes

feedback_loop.md

File metadata and controls

27 lines (20 loc) · 753 Bytes

Seting up an immediate feedback loop

Clone the repo to a local_folder

    git clone https://github.com/DrBoolean/mostly-adequate-guide.git    

change directory to the code folder in repository root

    cd /path/to/local_folder/mostly-adequate-guide/code/part1_exercises/

install dependencies

    npm install
    # this picks up the dependencies from package.json and installs them

run the test runner with the spec file for that exercise

    # for example
    mocha exercises/curry/curry_exercises_spec.js -w

this brings up the mocha test runner which shows the error immediately when you save the file with changed code. Achieve the requested refactor while keeping all the arrows green.