Skip to content

Starting and ending code for the GildedRose Refactoring Kata in JavaScript with Mocha and Chai

License

Notifications You must be signed in to change notification settings

thibaudcolas/gilded-roses

Repository files navigation

gilded-roses

Build Status devDependency Status Code Climate Coverage

A refactoring kata, originally from Emily Bache, to execute during a Coding Dojo.

Testing stack taken from http://onsen.io/blog/mocha-chaijs-unit-test-coverage-es6/:

Setup

git clone https://github.com/thibaudcolas/gilded-roses.git
cd gilded-roses/
nvm install
npm install
npm install -g eslint eslint-config-airbnb eslint-plugin-react babel-eslint

Doing the kata

# Run the tests with a watcher
npm start
# Run the coverage
npm run coverage
open coverage/lcov-report/index.html
# Run the linting
npm run lint

About

Starting and ending code for the GildedRose Refactoring Kata in JavaScript with Mocha and Chai

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published