'hasAuthored' is also added onto the codewars object.
Includes tests for hasAuthored function (which returns boolean).
in views/report.js I have put username as an argument to getCodewars as the function requires an argument (but this is currently undefined, as it depends on #6). To run locally for now you'll have to replace this with an actual username.
3 Displays whether authored kata.
'hasAuthored' is also added onto the codewars object.
Includes tests for hasAuthored function (which returns boolean).
in views/report.js I have put username as an argument to getCodewars as the function requires an argument (but this is currently undefined, as it depends on #6). To run locally for now you'll have to replace this with an actual username.