compatibility with multiple input
This commit is contained in:
parent
e0c72a7c4e
commit
bb1e19d58f
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ describe('DocSearch', () => {
|
|||
autocompleteOptions: { anOption: '44' },
|
||||
};
|
||||
const $input = $('<input name="foo" />');
|
||||
DocSearch.getInputsFromSelector.returns($input);
|
||||
DocSearch.getInputsFromSelector.returns([$input]);
|
||||
|
||||
// When
|
||||
new DocSearch(options);
|
||||
|
|
|
|||
Loading…
Reference in a new issue