From b3c057e95ca02de28501d1c76940559d62c58195 Mon Sep 17 00:00:00 2001 From: s-pace Date: Fri, 2 Nov 2018 11:25:38 +0100 Subject: [PATCH] should listen to the selected and shown event of autocomplete is still failing --- src/lib/__tests__/DocSearch-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);