diff --git a/src/lib/__tests__/DocSearch-test.js b/src/lib/__tests__/DocSearch-test.js index d422430c..e075e935 100644 --- a/src/lib/__tests__/DocSearch-test.js +++ b/src/lib/__tests__/DocSearch-test.js @@ -211,7 +211,7 @@ describe('DocSearch', () => { }); it('should listen to the selected and shown event of autocomplete', () => { // Given - const options = defaultOptions; + const options = { ...defaultOptions, handleSelected: true }; // When new DocSearch(options);