!function(mocha) {
  'use strict';

  //mocha.checkLeaks();
  mocha.options.ignoreLeaks = true;
  mocha.globals(['chai', 'BatchGl', 'mocha', 'BatchGlMocks']);
  mocha.run();
}(mocha);

!function(mocha) {
  'use strict';

  mocha.checkLeaks();
  mocha.globals(['chai', 'BatchGl', 'mocha', 'BatchGlMocks']);
  mocha.run();
}(mocha);

Make Mocha check for leaks.
Make Mocha check for leaks.
