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 [email protected]:AlgusDark/TDDBoilerPlate.git your-kata
Install dependencies:
npm install
Run the tests:
npm test
Run your src/app.js:
npm start
If you want to use ES6 latest features, remember to import 'babel-polyfill'
in src/app.js
You can check here for the TAPE methods