-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to version 4.x leads to test errors #273
Comments
👋 Thanks for the issue! I just upgraded ours and did not see this. I'm guessing it is this line. Do you do any funky stuff in a test like patch/override properties on the service? |
We updated to version 4 and did not get failing tests either, however when I upgraded to ember-qunit 5 I now get the failing tests with the above message. So Im guessing thats the difference. Whats also weird is for example a test failing it a unit adapter test. One would think ember-router-scroll would not even be instantiated during those tests. |
This is something I need to check tomorrow. I think we did upgrade to ember-unit 5 as well in the last weeks. |
We have this error after upgrade to the new By quick debug I've noticed that destroy() method is called twice during test teardown. Switching to |
Potentially fixable via #280 |
I can confirm #280 resolves this issue. Any chance we could get some eye balls on that PR @snewcomer ? <3 |
4.0.3! |
I'm trying to upgrade
ember-router-scroll
from v3.3.3 to v4.x in our project. I did the necessary adjustments in therouter.js
according to the README. The project starts and works as expected.Some tests however do not run smoothly and thow the following error message:
Not sure what causes the issue but it only seems to occur after the version upgrade and following necessary code changes.
The text was updated successfully, but these errors were encountered: