Or use Mocha to fake it, although that would require adding an extra development dependency.