- Download the starter
cd
into the folder andnpm install
to install dependenciesnpm test
to run all specs- Your objective is to implement the functions in the /problems folder to pass all specs
To run specs only for a single problem, you can add the file location of the
test file that corresponds to the problem that you want to test. For example,
if you want to test a file called problem/<file-name>
.js file only, you
can run npm test test/<file-name>
-spec.js.
When you are ready to submit:
- Delete the
node_modules
directory - Zip up your folder
- Upload it