Created
June 17, 2015 15:46
-
-
Save jmgunn87/2e3d8cee4ccc17aaaa84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var assert = require('assert'); | |
module.exports.count = 0; | |
Object.keys(assert).forEach(function (k) { | |
module.exports[k] = function () { | |
assert[k].apply(undefined, | |
Array.prototype.slice.apply(arguments)); | |
++module.exports.count; | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment