lib/nyanCat.js
Function onSpecComplete
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NyanCat.prototype.onSpecComplete = function(browser, result) {
// don't pollute original object
this.stats = Object.create(browser.lastResult);
// sum up tests stats