- Node.js 8+
- Yarn
yarn
- Read
index.js
- Change
- Run
node index.js
Some useful stuff can be found in playground.js
Jest used for unit-testing. Put your test file near module that you want to test. For example, for src/cool-module.js
you should create a file src/cool-module.test.js
.
yarn test
โ run testsyarn test:watch
โ run tests in watch mode