-
Notifications
You must be signed in to change notification settings - Fork 109
Description
When upgrading a special-ember-addon from a v1 addon to v2 addon upgrade (and both existing in the same project) -- there is an issue, an error: "test waiters can't be found"
if both loaded at the same time, test-waiters should still work appropriately, due to all the settled state info living on globalThis
Repro: https://github.com/NullVoxPopuli/repro-vX-v2-vY-v1-addon-coexistence
Also repro:
- create new ember project (does not include test-waiters)
- add test-waiters (v4)
- start app, visit
/tests
I suspect this is the same issue with @ember/string?
The situation (rn)
@ember/test-helpers->@ember/test-waiters@v3- app ->
@ember/test-waiters@v4
A possible work-around (requires a bit of luck (no v1 addens without auto-import)) if folks need it is to set an overrides for @ember/test-waiters. This would also make your install times a bit faster in case you accidentally had many copies.
(tho note v4 is a breaking change, so check the changelog in test-waiters)