Functions

Instructions

Tools

The Files

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

Running Your Code

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

Running The Tests

Install all the requirements:

  1. Navigate to the project root (you'll find a file called package.json there).
  2. 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.