ember-cli-dependency-lint icon indicating copy to clipboard operation
ember-cli-dependency-lint copied to clipboard

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

Open sebastianhelbig opened this issue 2 years ago • 6 comments
trafficstars

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

sebastianhelbig avatar Oct 15 '23 16:10 sebastianhelbig

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

tschoartschi avatar Jan 18 '24 19:01 tschoartschi

Unfortunately not :-(

sebastianhelbig avatar Jan 18 '24 19:01 sebastianhelbig

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

tschoartschi avatar Jan 18 '24 19:01 tschoartschi

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.

dfreeman avatar Jan 19 '24 10:01 dfreeman

This solves it. Thanks a lot.

sebastianhelbig avatar Jan 25 '24 03:01 sebastianhelbig

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"

dwickern avatar Feb 16 '24 18:02 dwickern