Gilded Rose

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.

Tooling:

and all tests are automated using husky 😎

Getting started

Install dependencies

npm install

Running tests

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

Building

To create a javascript build

npm run build