This is the Gilded Rose kata in JavaScript with Jest.
The original challenge for reference: https://github.com/emilybache/GildedRose-Refactoring-Kata
Obs: In this challenge, I could modify the "Item" class as long as I didn't change the names already there.
and all tests are automated using husky 😎
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
To visualize a text table test
npm run test:text
To create a javascript build
npm run build