# clone the repository
git clone git@github.com:Sh4bbY/dojo.git
# navigate into the repository
cd dojo
# install dependencies
yarn
# create *.solution.ts files from *.template.ts files
yarn solutionsOnce this is done you should be able to run the following npm tasks:
yarn test: run linter and test-suites for all unit-testsyarn play: run nodemon on file./src/playground.tsand watch for changesyarn lint: run static code checksyarn web: run webpack-dev-server and bring up mars-rover mission-controlyarn solutions: create*.solution.tsfiles from*.template.tsif solution file does not exist
Before you dig into mars-rover missions, you first should complete a decent amount of basic and advanced challenges.
So start with the basics before you head over to advanced or web.
When you checkout the repository, you'll find different sections in the src folder like src/basics/01-numbers.
this section consists of a numbers.spec.ts file, that contains the test-suite used for numbers.ts.
In numbers.ts you'll find several function signatures that are not yet implemented.
It's your job now to start implementing the desired functionality and satisfy the unit tests.
NOTE
You can skip parts of the test-suite by prefixing a describe(...) function with an 'x' (change it to xdescribe(...)).
To execute only a particular test-suite (eg. basic/numbers). Run yarn jest src/basic/numbers