Connerh92 / javascript-exercise-eight

Javascript. TDD with Jest. Gilded Rose refactoring KATA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a JavaScript exercise refactoring given code and TDD. Jest is used for test running. Being used to working with React, as a refactoring solution, going for an OOP approach made sense.

I have the habbit of always using a "comments.md" file, where I kind of log every step of the process. Some people would call this redundant, but I find it very usefull to retrace anything very quickly.

The requirements are added as well("requirements.txt"). I deleted the coverage folder after using it, no need to keep or even hide it, lighter load. The original readme explains the required steps to use this repo(npm install) and for testing the code, some extra notes are also added in "comments.md" if needed.

Here under is the original readme:

Gilded Rose

This is the Gilded Rose kata in JavaScript with Jest

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

=================================

About

Javascript. TDD with Jest. Gilded Rose refactoring KATA.


Languages

Language:JavaScript 100.0%