How to unit test backbone js code?

I am new to unit testing. Any ideas on how to test backbone js code? Example would be appreciated in context of SugarCRM.

Sugar version - 8.0.3

Thanks,

Shantanu Agnihotri