-
Notifications
You must be signed in to change notification settings - Fork 5
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
Memory leak detector test doesn't run #47
Comments
@joshuaswift Thanks for reporting. This Qunit warning recently came to my attention and will require some pretty substantial changes to how we report memory leaks since we rely on adding a new test after all the other tests finish. I'm not sure I have a good answer for you now, but I suspect you may be out of luck unless you downgrade qunit or we can release a new version that uses a different approach. What version of Qunit are you using? |
Context: Qunit changes introduced July 2021 here qunitjs/qunit#1629 |
Closing in favor of #49 |
@steveszc Thanks for getting back to me! We're on Sounds like a tricky obstacle to overcome! We can look into downgrading in the mean time. |
Fortunately it sounds like the qunit team agrees our use case should be supported, so it may end up being a straightforward change to whatever the new way to run a "final" test is. |
Awesome! I look forward to further updates. |
Hey! We can't get the detector to run in our tests locally or on CI, however we don't see any errors.
The test to check for retained classes just never seems to run in the first place.
If I run a small acceptance test module, the tests pass and there is no console output, from my understanding even if there is no retained classes there should be a console output, is that correct?
I did spot a QUnit warning which could potentially be related, which points to this line in the package.
Warning:
Unexpected test after runEnd. This is unstable and will fail in QUnit 3.0.
This could well be something config related so here's our testem file, hopefully this helps:
Thanks!
The text was updated successfully, but these errors were encountered: