Skip to content

thedrew12/ember-cli-mocha

 
 

Repository files navigation

ember-cli-mocha

Mocha / Chai testing for your Ember CLI apps.

Installation

Install ember-cli-mocha:

ember install ember-cli-mocha

Usage

ember-cli-mocha overrides all of ember-cli's testing blueprints. Simply generate models, controllers, components, etc. in order to generate the corresponding Mocha / Chai tests.

Tests rely on ember-mocha modules and helpers. Please refer to that project to understand detailed usage.

Turning of JSHint linting

If you want to turn off JSHint linting you can do the following configuration in your ember-cli-build.js file:

var app = new EmberApp({
  'babel': {
    optional: ['es7.decorators']
  },

  'ember-cli-mocha': {
    useLintTree: false
  }
});

Copyright and License

Copyright 2014 Switchfly

This product includes software developed at Switchfly (http://www.switchfly.com).

NOTICE: Only our own original work is licensed under the terms of the Apache License Version 2.0. The licenses of some libraries might impose different redistribution or general licensing terms than those stated in the Apache License. Users and redistributors are hereby requested to verify these conditions and agree upon them.

About

Mocha and Chai tests for ember-cli applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.3%
  • HTML 0.7%