ember-cli-mocha
Advanced tools
Comparing version 0.9.6 to 0.9.7
@@ -66,5 +66,8 @@ /*jshint node:true*/ | ||
included: function(app) { | ||
this._super.included(app); | ||
included: function included(app, parentAddon) { | ||
var target = (parentAddon || app); | ||
this._super.included.call(this, target); | ||
this.options = target.options; | ||
if (app.tests) { | ||
@@ -126,3 +129,3 @@ var fileAssets = [ | ||
// Skip if useLintTree === false. | ||
if (this.options['ember-cli-mocha'] && this.options['ember-cli-mocha'].useLintTree === false) { | ||
if (this.options && this.options['ember-cli-mocha'] && this.options['ember-cli-mocha'].useLintTree === false) { | ||
// Fakes an empty broccoli tree | ||
@@ -129,0 +132,0 @@ return { inputTree: tree, rebuild: function() { return []; } }; |
{ | ||
"name": "ember-cli-mocha", | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"description": "Mocha and Chai tests for ember-cli applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
29941
564