I’m using Mocha to test modules in my javascript application. One of my modules depends on there being a document object, so the test for that module fails when I run my tests in node.js and passes in the testing page in the browser.
How can I tell Mocha to only run this specific test in the browser and not in node.js?