Port old JS Spec tests to Mocha Changes that happened to jquery.couch.js which were not reflected by the current failing JSpec Testsuite and required changes to the testuite: - jquery.couch returns the time for the request and not an object with an url property - jquery.couch does not show alerts any more - success callbacks don't return a status any more - db.copyDoc expects an docid as target in the first option object, not a third parameter with an `Destination` property COUCHDB-1566
$.couch is used to communicate with a CouchDB server.
Install the dependencies:
$ bower install
Enable CORS:
curl -X PUT http://localhost:5984/_config/httpd/enable_cors -d '"true"' curl -X PUT http://localhost:5984/_config/cors/origins -d '"*"'
Restart CouchDB & open test/runner.html in a browser to run the testsuite.