jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

Tests: Properly check `$.uiBackCompat` in common widget tests

Open mgol opened this issue 1 year ago • 0 comments

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

mgol avatar Aug 23 '24 22:08 mgol