From 08e9c5fffffc1100cd028cf17f9b71e279602ddf Mon Sep 17 00:00:00 2001 From: Matthias Wilhelm Date: Mon, 30 Mar 2020 20:35:38 +0200 Subject: [PATCH] Fix jest testg --- .../np_ready/components/sidebar/discover_sidebar.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legacy/core_plugins/kibana/public/discover/np_ready/components/sidebar/discover_sidebar.test.tsx b/src/legacy/core_plugins/kibana/public/discover/np_ready/components/sidebar/discover_sidebar.test.tsx index 13e22f6f7d4c9..0df14515adc6d 100644 --- a/src/legacy/core_plugins/kibana/public/discover/np_ready/components/sidebar/discover_sidebar.test.tsx +++ b/src/legacy/core_plugins/kibana/public/discover/np_ready/components/sidebar/discover_sidebar.test.tsx @@ -111,7 +111,7 @@ describe('discover sidebar', function() { const popular = findTestSubject(comp, 'fieldList-popular'); const selected = findTestSubject(comp, 'fieldList-selected'); const unpopular = findTestSubject(comp, 'fieldList-unpopular'); - expect(popular.children().length).toBe(2); + expect(popular.children().length).toBe(1); expect(unpopular.children().length).toBe(7); expect(selected.children().length).toBe(1); });