lib/tools/Throws.js
Function run
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Throws.prototype.run = function (func, expected, message) {
if (typeof func !== 'function') {
throw new Error('throws takes at least one parameter, a function to run.');
}