ember-cli-test-helpers

2.0.1 • Public • Published

ember-cli-test-helpers

Build Status NPM Downlaads

Description

Ember-cli-test-helpers is a collection of test helpers

Installation

Starting with 2.0, this addon only supports Ember 2.1 and later versions.

# install via npm
$ npm install ember-cli-test-helpers --save-dev

Build

$ npm install
$ bower install
$ ember test

Usage

Example usage of helpers can be found in usage-test.js.

The wait for helper waits half a second by default, but you can configure this value.

module.exports = function(/* environment, appConfig */) {
  return {
    APP: {
      defaultWaitForTimeout: 1
    }
  };
};

The QUnit.testDone callback function found in test-support/helpers/fauxjax-testdone.js is to be used with 1.X versions of the fauxjax library. For older versions of fauxjax < 1.0.0, please use a version less than or equal to 0.7.0 of ember-cli-test-helpers.

License

Copyright © 2015 Toran Billups

Licensed under the MIT License

Readme

Keywords

Package Sidebar

Install

npm i ember-cli-test-helpers

Weekly Downloads

2

Version

2.0.1

License

MIT

Last publish

Collaborators

  • toranb
  • williamsbdev