Description
The following is a TDD Kata, an exercise in coding, refactoring and test-first.
The goal is to parse a string chat: given a string input, the program should produce an array of sentences as output, according to the following specification.
Source exercise:
https://github.com/wonderflow-bv/parse-chat-kata/blob/master/ASSIGNMENT.md
Installation
$ yarn
Otherwise:
$ npm i
Start the program
$ yarn dev
Tests
The program use avajs
$ yarn test
Notes
Check mocked chat file in ./mocks/step_<X>.txt
Check expected test output in: ./mocks/expected/step_<X>.js
License
Published under MIT license