Skip to content

Commit 3cb2fc6

Browse files
author
Tomas Kirda
committed
Set width of the input field so that auto width test can pass.
1 parent a9e7927 commit 3cb2fc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/autocompleteBehavior.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,11 @@ describe('Autocomplete', function () {
473473
});
474474

475475
input.val('Jam');
476+
input.width(100);
477+
476478
instance = input.autocomplete();
477479
instance.onValueChange();
480+
478481
width = $(instance.suggestionsContainer).width();
479482

480483
expect(width).toBeGreaterThan(0);

0 commit comments

Comments
 (0)