Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added `throwError` synonym to `throwException`.

  • Loading branch information...
commit bdabd8602af4f921bdbc155b9ba9f357387cc28b 1 parent d1a9689
@rauchg rauchg authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  expect.js
View
1  expect.js
@@ -119,6 +119,7 @@
* Asser that the function throws.
*/
+ Assertion.prototype.throwError =
Assertion.prototype.throwException = function () {
expect(this.obj).to.be.a('function');
Please sign in to comment.
Something went wrong with that request. Please try again.