- fork and clone this repo on your machine
- install or update nodejs to the latest version (8):
brew install node - install Jest globally:
npm install -g jest - install nodemon globally:
npm install -g nodemon - install node modules:
npm install
** You should run the test individually **
jest --watch <test-file>
For the non test file, use nodemon to automatically load the change you (eventually) make
nodemon <file>
-
Each sub section should contain:
- Explanation file for the concept (Use Docco to go through the concept). Create a js file within
/src, where your explanation is written in comments - Test javascript file (this if for the exercise) within
/exercises
- Explanation file for the concept (Use Docco to go through the concept). Create a js file within
-
Run the following commands to generate the doc files
./node_modules/.bin/docco exercises/*./node_modules/.bin/docco src/*
- More examples for prototypal inheritance