====================================
This is a starter repo for constructing a code kata in JavaScript, using the newest features of the language.
Provides:
- Jest testing tool
- NPM scripts to run Jest in watch mode or watch with Coverage
- ESLint support via NPM scripts
.editorconfigto match the linting rules
You should change this to contain a description of the problem you are trying to solve.
Serving suggestion:
- Fork (or clone) this repo and edit the
kata.js,kata.spec.js, andREADME.mdfiles for the problem you intend to kata-fy. Feel free to change the names of course, as suits your problem space. Don't forget to update your import statements, etc! - Create a NEW BRANCH to work on, so the you can keep a clean copy of your starting exercise repo for future use.
You should use NodeJS v8 or above.
Install assignment dependencies:
npm installCheck your code for style issues:
npm run lintRun Jest in watch mode, with coverage info like this:
npm run watch:coverIn the test suite all tests but the first have been skipped.
Once you get a test passing, you can enable the next one by
changing xtest to test.