Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Aug 24, 2023
1 parent 98402ac commit 91b41ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<FactoryQueryTypes>(factoryQueryType));
Expand Down

0 comments on commit 91b41ca

Please sign in to comment.