This is my version of legacy code retreat in Javascript. The code base is taken from here. You can follow the steps I used just by following the commits.
-
First you need to run
npm install
inside game directory -
Then execute:
jasmine-node .
Any test source matching the pattern *.spec.js will be executed.