I have been investigating the best way to do JS unit testing in our maven CI environment. What I currently have cobbled together is the following in my maven project:
We just check phantomJS.exe into source control. And then we are certain that the same version of phantomJS is being used on all machines.