visionmedia/mocha — Issue #245: Provide finer grained control of global variable leak detection
Author: coalitions
Created: 2012-01-31 00:35:52+00:00
State: open

It would be nice to be able to specify global names to ignore within the source file, rather than on the command line. My makefile does one run of mocha on several source files. One of these has a leak in a third party module for the variable named 'result'. I'd rather not exclude that variable for all test files, and I'd rather not have to modify my makefile to run mocha separately on different files.