salsify / ember-cli-dependency-lint

Lint your app's addon dependencies, making sure you only have one version of each.
MIT License
83 stars 8 forks source link

"DEPRECATION: Please install an Ember.js test framework addon or update your dependencies." #24

Open sebastianhelbig opened 11 months ago

sebastianhelbig commented 11 months ago

This warning is shown on startup when using with current ember-cli (5.3.0).

tschoartschi commented 8 months ago

@sebastianhelbig happens in our project as well with ember-cli 5.5.0. Did you find the root cause of this warning?

sebastianhelbig commented 8 months ago

Unfortunately not :-(

tschoartschi commented 8 months ago

@sebastianhelbig thanks for the fast response. At least it does not break anything in our project.

dfreeman commented 8 months ago

If you set generateTests: false in your config does this warning go away?

We should probably drop the test generation feature entirely; this addon was created when it was in vogue to have things like ember-cli-eslint that generated a passing or failing test for each file in your project based on whether it passed the linter or not. That era is (thankfully!) long over now.

sebastianhelbig commented 8 months ago

This solves it. Thanks a lot.

dwickern commented 7 months ago

I don't see a warning on ember-cli 5.6.0 but there are no tests being generated. Running it as a script seems like a better solution anyhow.

Add to package.json: "lint:deps": "ember dependency-lint"