Need to run npm install before running the tests
Not a hardcore js dev but its looks good :thumbsup:
5 tests passed (5 total in 4 test suites, run time 8.43s)
1 new commit added
new script works for me as well
rebased
Is the location of the tests under the static folder something that is standard or so? Seems odd for me to ship them there as I'm afraid we'll forget to remove them in installing later :/
I don't know if it is standard but the only other experience I have with javascript testing does it the same way: https://github.com/CenterForOpenScience/osf.io/tree/develop/website/static/js
Not to say that way is correct though.
@sayanchowdhury what are your thoughts on this?
Sayan confirmed the tests here but wants to run them to be sure.
:thumbsup: for me
Pull-Request has been merged by atelic