From 91b41cae22d0d051ab55d1aaec10a30e0dbcfd0b Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 24 Aug 2023 20:25:34 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .../common/containers/use_search_strategy/index.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/common/containers/use_search_strategy/index.test.ts b/x-pack/plugins/security_solution/public/common/containers/use_search_strategy/index.test.ts index f286d9faebc0c..6a3b48dce6615 100644 --- a/x-pack/plugins/security_solution/public/common/containers/use_search_strategy/index.test.ts +++ b/x-pack/plugins/security_solution/public/common/containers/use_search_strategy/index.test.ts @@ -275,7 +275,9 @@ describe('useSearchStrategy', () => { it('should handle search error', () => { mockResponse.mockImplementation(() => { - throw new Error('simulated search response error, which could be 1) undefined response, 2) response without rawResponse, or 3) partial response'); + throw new Error( + 'simulated search response error, which could be 1) undefined response, 2) response without rawResponse, or 3) partial response' + ); }); const { result } = renderHook(() => useSearch(factoryQueryType));