mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-12-23 11:28:53 +00:00
Set width of the input field so that auto width test can pass.
This commit is contained in:
parent
a9e79277fb
commit
3cb2fc6203
@ -473,8 +473,11 @@ describe('Autocomplete', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
input.val('Jam');
|
input.val('Jam');
|
||||||
|
input.width(100);
|
||||||
|
|
||||||
instance = input.autocomplete();
|
instance = input.autocomplete();
|
||||||
instance.onValueChange();
|
instance.onValueChange();
|
||||||
|
|
||||||
width = $(instance.suggestionsContainer).width();
|
width = $(instance.suggestionsContainer).width();
|
||||||
|
|
||||||
expect(width).toBeGreaterThan(0);
|
expect(width).toBeGreaterThan(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user