Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Test compatibility for with jQuery 3.x
  • Loading branch information
kirmorozov committed Apr 5, 2018
1 parent bcdff33 commit ccfdcbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tests/js/jasmine/tests/lib/mage/backend/suggest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ define([

expect(suggestInstance.dropdown.hasClass('wrapper-test')).toBe(true);
expect(suggestInstance.dropdown.is(':hidden')).toBe(true);
expect(suggestInstance.element.closest('.test-input-wrapper').size()).toBeGreaterThan(0);
expect(suggestInstance.element.closest('.' + options.className).size()).toBeGreaterThan(0);
expect(suggestInstance.element.closest('.test-input-wrapper').length).toBeGreaterThan(0);
expect(suggestInstance.element.closest('.' + options.className).length).toBeGreaterThan(0);
expect(suggestInstance.element.attr('autocomplete')).toBe('off');

options.appendMethod = 'before';
Expand Down

0 comments on commit ccfdcbb

Please sign in to comment.