Skip to content

Conversation

mgol
Copy link
Member

@mgol mgol commented Aug 23, 2024

The "common widget" tests, checking if a widget doesn't overwrite some core widget APIs wasn't running as it was incorrectly checking for $.uiBackCompat === false instead of $.uiBackCompat !== true after the default changed in gh-2250.

Fixing the check uncovered that the draggable & sortable modules do overwrite the _trigger method. Add an exception in the test for that; at this stage of the project we don't plan to change the implementation.

Ref gh-2250

The "common widget" tests, checking if a widget doesn't overwrite some
core widget APIs wasn't running as it was incorrectly checking for
`$.uiBackCompat === false` instead of `$.uiBackCompat !== true` after the
default changed in jquerygh-2250.

Fixing the check uncovered that the draggable & sortable modules do
overwrite the `_trigger` method. Add an exception in the test for that;
at this stage of the project we don't plan to change the implementation.

Ref jquerygh-2250
@mgol mgol added this to the 1.14.1 milestone Aug 23, 2024
@mgol mgol requested review from fnagel and timmywil August 23, 2024 22:09
@mgol mgol removed the Needs review label Sep 9, 2024
@mgol mgol merged commit fd1b8a0 into jquery:main Sep 9, 2024
@mgol mgol deleted the uiBackCompat-tests branch September 9, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants