There are no limitatinons which testing framework can be used with, it depends on you which you'll find the best. However, in Joint JS we are using Mocha for server side, QUnit for for client side unit testing, and it could be the right option for you, as the testing infrastucture is already sorted out there (configuration, running tests...). If you take the joint js sources you can run tests with command 'grunt test:client'. It should run tests in PhantomJS, or, you can run it in your browser, simply by opening joint\test\jointjs\index.html. Sources and instructions can be found on github -
https://github.com/clientIO/joint