Test.Adapter#exception()

exception (error) public

Defined in packages/ember-testing/lib/adapters/adapter.js:38

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.
doc_EmberJs
2016-11-30 16:53:46
Comments
Leave a Comment

Please login to continue.