Open sunilj0lly opened 11 years ago
I made a start on this but hit several problems with the current set up and also with trying to stub out Mongoose Virtual Properties. https://github.com/sunilj0lly/Wibble/tree/mocha-tests
Documented the problems and possible solutions here: https://docs.google.com/a/specialmoves.com/document/d/1_H5VizBhf9LcPYGX6-ANNZy3JYI2gAcu55KXhcnBz34/edit
I'd recommend using Mocha.hs and Should.js. Logic around the graphs and percentage calculations would be the most important place to start.