exception (error) public
Override this method with your testing framework's false assertion. This function is called whenever an exception occurs causing the testing promise to fail.
QUnit example:
exception: function(error) { ok(false, error); };
Parameters:
-
error
String
- The exception to be raised.
Please login to continue.