Mocha / Chai testing for your Ember CLI apps.
Install ember-cli-mocha:
ember install ember-cli-mocha
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.
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 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.