Merge pull request #251 from doochik/patch-1
update jsdoc for jasmine.Matchers.prototype.toThrow
This commit is contained in:
@@ -308,7 +308,7 @@ jasmine.Matchers.prototype.toBeCloseTo = function(expected, precision) {
|
||||
/**
|
||||
* Matcher that checks that the expected exception was thrown by the actual.
|
||||
*
|
||||
* @param {String} expected
|
||||
* @param {String} [expected]
|
||||
*/
|
||||
jasmine.Matchers.prototype.toThrow = function(expected) {
|
||||
var result = false;
|
||||
|
||||
Reference in New Issue
Block a user