#

API Docs for: v2.11.1
Show: Inherited Protected Private Deprecated

# File: packages/ember-testing/lib/adapters/qunit.js

    import { inspect } from 'ember-utils';
    import Adapter from './adapter';

    /**
      This class implements the methods defined by Ember.Test.Adapter for the
      QUnit testing framework.

      @class QUnitAdapter
      @namespace Ember.Test
      @extends Ember.Test.Adapter
      @public
    */
    export default Adapter.extend({
      asyncStart() {
        QUnit.stop();
      },
      asyncEnd() {
        QUnit.start();
      },
      exception(error) {
        ok(false, inspect(error));
      }
    });