Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Sep 10, 2024
1 parent 57dfd44 commit 5c1c4cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ describe('hydrateSearchClient', () => {

it('should not throw if search requires to be bound (v5)', async () => {
const send = jest.fn().mockResolvedValue({ status: 200, content: '{}' });
const searchClient = algoliasearchV5('appId', 'apiKey', {
const searchClient: any = algoliasearchV5('appId', 'apiKey', {
requester: {
send,
},
Expand All @@ -264,7 +264,7 @@ describe('hydrateSearchClient', () => {

it('should not throw if search requires to be bound (v4)', async () => {
const send = jest.fn().mockResolvedValue({ status: 200, content: '{}' });
const searchClient = algoliasearchV4('appId', 'apiKey', {
const searchClient: any = algoliasearchV4('appId', 'apiKey', {
requester: {
send,
},
Expand Down

0 comments on commit 5c1c4cc

Please sign in to comment.