generated mocha tests include chai, despite our app not using chai
efx opened this issue · comments
Environment
- Ember CP Validations Version: (symlinked master as of 4115834)
Steps to Reproduce
ember g validator-test my-validator
- In a project that uses
ember-mocha
, but notchai
, it includes chai because of the blueprint.
It would be nice to introspect the project dependencies if it has chai. I wonder how ember-mocha does this right now? Couldn't find the example blueprints in ember-cli from a quick check.
I wonder how ember-mocha does this right now?
ember-mocha itself does not have any testing blueprints, but ember and ember-data both also assume that if you use mocha then you will also use chai.
I'll close this then. I had forgotten about that default behavior. It seems best to address that separately as a feature request to ember-mocha, rather than here.