Skip to content
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

Core: Throw an error when hooks are added outside of their module #1578

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

raycohen
Copy link
Member

@raycohen raycohen commented Apr 5, 2021

Ref: #1576

For QUnit version 3.0

Copy link
Member

@Krinkle Krinkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Naturally will land a bit later as we're not yet in the homestretch to QUnit 3.0.

But, we could land an alternate version in QUnit 2.x now, with a warning. That way, people can smoothly update to the last 2.x release, and there take their time to address any warnings whilst builds remain passing, and then move to 3.0 without no changes or other surprises.

test/main/modules.js Outdated Show resolved Hide resolved
@Krinkle Krinkle added this to the 3.0 release milestone Apr 10, 2021
@raycohen raycohen marked this pull request as ready for review April 10, 2021 20:24
@Krinkle Krinkle changed the title Core: Throw an error when hooks are invoked outside of their module Core: Throw an error when hooks are added outside of their module Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants