How to test jQuery Mobile in node.js

How to test jQuery Mobile in node.js

Is anyone using Node.js to test jQuery Mobile?  I'm working on a plugin, which interacts with jQuery Mobile events, but doesn't do anything visual, so Node.js would be the ideal place to run my unit tests.

I've found instructions for testing jQuery with node (  https://github.com/UncoolAJ86/node-jquery/blob/master/README.md ), but trying to extend this to load jQuery Mobile, I'm getting an error:

TypeError: Cannot set property 'mobile' of undefined

I am hopeful that someone else has configured jQM to run tests within node, and can just point me in the right direction.  If not, I can distill my existing code into a minimal example to paste here to seek specific debugging help.