Closed faridnsh closed 11 years ago
throwError gives me this error:
throwError
TypeError: Object # has no method 'throwError'
My test
(function(){ throw new Error('someError'); }).should.throwError('someError');
throw works but I'd rather not use it due to jshint warnings.
throw
throwError
gives me this error:My test
throw
works but I'd rather not use it due to jshint warnings.