ember-cli-template-lint
ember-cli-template-lint copied to clipboard
Test framework detection fail
After updating to ember-cli: 3.5.0
and migrating from ember-cli-qunit
to ember-qunit
automatic framework detection fails.
with error
WARNING: [ember-cli-template-lint] Test framework detection was unsuccessful. Please provide a "testGenerator" option explicitly to enable the test generators.
The "groupName" options can only be used with a "testGenerator" option of: qunit,mocha
temporary fixed by adding corresponding option to ember-cli-build
but shouldn't it work out of the box?
What version of ember-cli-template-lint?
@rwjblue
latest available ember-cli-template-lint: 0.7.6
Ok. This is fixed in the latest betas, but likely not in the 0.7.6 series. I’ll take a look to see if we can back port.
Thanks!
@Sinled Can you please provide an example of your workaround?
For those curious, adding the following to ember-cli-build.js
should resolve the issue.
'ember-cli-template-lint': {
testGenerator: 'qunit' // or 'mocha', etc.
}