Class Ember.Test.QUnitAdapter

public
Extends: TestAdapter
Defined in: packages/ember-testing/lib/adapters/qunit.js:8
Module: ember

asyncEnd public

Module: ember

This callback will be called whenever an async operation has completed.

asyncStart public

Module: ember

This callback will be called whenever an async operation is about to start.

Override this to call your framework's methods that handle async operations.

exception (error) public

Module: ember
error
String
The exception to be raised.

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);
  };

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/3.25/classes/Ember.Test.QUnitAdapter/methods