ember-try icon indicating copy to clipboard operation
ember-try copied to clipboard

Dependencies can leak between scenarios

Open ef4 opened this issue 5 years ago • 4 comments

If you have a scenario with no npm section at all, it seems to work, but it silently uses the NPM deps from the previous scenario.

Reproduction:

  1. Clone and yarn install https://github.com/ef4/--try-multi-cli
  2. ember try:each should show a failure.
  3. Uncomment the section in ember-try.js and you will no longer get a failure.

(I created this test app initially because I was trying to confirm that ember-try can really swap the ember-cli version in use -- it can, thanks!)

This seems related to https://github.com/ember-cli/ember-try/issues/81 but not identical to it. That older issue seems to imply that this case would be an explicit error, whereas now it seems to be a tolerated-but-faulty.

ef4 avatar Oct 21 '20 17:10 ef4

Also described in #451

kategengler avatar Oct 21 '20 17:10 kategengler

Ya, we need to land the fixes in #451

rwjblue avatar Oct 21 '20 17:10 rwjblue

Thanks. If that definitely covers this, we can close this.

ef4 avatar Oct 21 '20 17:10 ef4

We should leave it open until a PR lands.

On Wed, Oct 21, 2020 at 1:31 PM Edward Faulkner [email protected] wrote:

Thanks. If that definitely covers this, we can close this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ember-cli/ember-try/issues/579#issuecomment-713736320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADMOOVEFWUCZQVHKASRMXDSL4LGLANCNFSM4S2BYYUQ .

kategengler avatar Oct 21 '20 17:10 kategengler