You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git remote add upstream {this_repo} to pull from upstream
Useful Tips For Testing
If you ever want to mess around with your function outside of this environment, just copy and paste the function you wrote into RunJS.
A better way to run tests for a single function: npx jest challenges/5-arraycardio -t "#lastElement"
Generic form of above: npx jest challenges/{CHALLENGE_FOLDER} -t "#{FUNCTION_NAME}"
If you want to also have the tests auto-reload on save, do the above command but add --watch
Getting new Exercises
Make sure you're on your fork and have upstream and origin configured to point to the right places. upstream should point to slushyash/coding-challenges, and origin should point to your-username/coding-challenges.