The upcoming release of ArangoDB sets out to change this. As of version 2.6, ArangoDB Foxx will come with full support for Mocha tests allowing you to use the same test framework for your frontend code in the browser, your server-side code running on Node.js or io.js, and your backend logic in Foxx.
Mocha is the most popular test framework for Node.js and the browser. It offers BDD, TDD and QUnit style testing. Foxx Mocha tests can be executed via the HTTP API or directly from the web admin interface for a familiar spec output. ArangoDB 2.6 also ships with the assertion libraries
If you want to give Mocha testing a try before the 2.6 release the feature is also available in the latest development version of ArangoDB.
For more information on writing Foxx tests see the new recipe Testing Foxx apps using Mocha.