W3cubDocs

/Ember.js

Ember.Test (public)

Defined in: packages/ember-testing/lib/test.js:27
Module: ember

adapter public

Used to allow ember-testing to communicate with a specific testing framework.

You can manually set it before calling App.setupForTesting().

Example:

Ember.Test.adapter = MyCustomAdapter.create()

If you do not set it, ember-testing will default to Ember.Test.QUnitAdapter.

testHelpers public

This property contains the testing helpers for the current application. These are created once you call injectTestHelpers on your Ember.Application instance. The included helpers are also available on the window object by default, but can be used from this object on the individual application also.

testing public

This property indicates whether or not this application is currently in testing mode. This is set when setupForTesting is called on the current application.

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/ember/2.15/classes/Ember.Test/properties