This is problems repo.
You will need:
Using jest as a testing lib.
- Fork repo.
- Clone forked repo. Use ssh because you will need to push.
- Install all dependencies.
npm install
- Solve problems and test if they are valid.
npm test
First need setup remote repo for update. You need to do that once:
git remote add upstream [email protected]:talgat-ruby/problems-js.git
git remote set-url --push upstream DISABLE
Now any time you need to update you can do:
git pull upstream main
In order to run specific exercise (for example exercise2
):
npm test ./exercise2/
Or specific problem (for example exercise3/problem5
):
npm test ./exercise3/problem5/