- Install yarn
- For Mac users, install yarn using Homebrew.
- For Windows users, install by downloading the Windows installer.
Fork this repository and clone your fork (make sure you clone it into your development
directory):
$ git clone https://github.com/<YOUR_GITHUB_USERNAME>/JSFoundations-Functions.git
To run the code you're writing without running the automated tests, call the function you'd like to test manually in funcions.js
and run the following command:
$ node functions.js
Install all the requirements:
-
Navigate to the project root (you'll find a file called
package.json
there). -
Install the required packages with the following command:
$ yarn install
Run the tests:
$ yarn test
This command will run the testing file and test your code to make sure it has all the required features.
You'll know when you're done when your code passes all the tests.