1
0
Fork 0

compatibility with multiple input

This commit is contained in:
s-pace 2018-11-02 10:54:28 +01:00
parent e0c72a7c4e
commit bb1e19d58f

View file

@ -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);