From b3b0b54efa0de3a376206e18ef36250d126e0001 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan <tsullivan@elastic.co> Date: Sun, 25 Jun 2023 22:06:12 -0700 Subject: [PATCH] test names --- .../global_search_bar/public/telemetry/telmetry.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/global_search_bar/public/telemetry/telmetry.test.tsx b/x-pack/plugins/global_search_bar/public/telemetry/telmetry.test.tsx index f701f1246da8a..75f64591ca958 100644 --- a/x-pack/plugins/global_search_bar/public/telemetry/telmetry.test.tsx +++ b/x-pack/plugins/global_search_bar/public/telemetry/telmetry.test.tsx @@ -220,7 +220,7 @@ describe('SearchBar', () => { expect(mockReportEvent).toHaveBeenCalledTimes(2); }); - it('tracks errors', async () => { + it('errors', async () => { searchService.find.mockReturnValueOnce(throwError(() => new Error('service unavailable :('))); render( @@ -282,7 +282,7 @@ describe('SearchBar', () => { expect(mockReportUiCounter).toHaveBeenCalledTimes(2); }); - it('supports show/hide', async () => { + it('show/hide', async () => { render( <IntlProvider locale="en"> <SearchBar