Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Automated tests are not setup for templates in addon #408

Closed
deleemillie opened this issue Oct 12, 2018 · 2 comments
Closed

Automated tests are not setup for templates in addon #408

deleemillie opened this issue Oct 12, 2018 · 2 comments

Comments

@deleemillie
Copy link

Hi there,

I have two addons and an ember application running Ember 2.18.2. Adding the below to package.json and running "npm run lint:hbs" works fine in all instances:
"lint:hbs": "ember-template-lint ."

My app generates and runs a bunch of TemplateLint tests. However, neither of my addons do. I first ran into this problem when I attempted an upgrade to Ember 3.0.0 so I thought I'd just setup the linter separately. However, there are no errors, it just doesn't seem to run any TemplateLint tests.

Is there a known issue, or is there some way I can work out what is going on? I don't have 'hinting' disabled as far as I can tell.

Thanks in advance!

@deleemillie
Copy link
Author

For further information, I eventually figured out it linted ok 344 Chrome 65.0 - [0 ms] - TemplateLint: dummy/templates/application.hbs but that is all.

@deleemillie
Copy link
Author

Just confirming this seems to be a duplicate of #292

The fix reported in #292 (comment) worked for me. It would be good of course to get this to work without such updates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant