A simple TDD Boilerplate with BABEL and TAPE.
Do your code on src/app.js and your tests on src/app.test.js. You should fix src/app.js so the test can pass.
Clone the repo:
git clone git@github.com:AlgusDark/TDDBoilerPlate.git your-kataInstall dependencies:
npm installRun the tests:
npm testRun your src/app.js:
npm startIf you want to use ES6 latest features, remember to import 'babel-polyfill' in src/app.js
You can check here for the TAPE methods