This is the Gilded Rose kata in JavaScript with Jest.
In this exercise I tried to refactor an ugly code with the help of test.
Install dependencies
npm install
To run all tests
npm test
To run all tests in watch mode
npm run test:watch
To generate test coverage report
npm run test:coverage