File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/instant-meilisearch/__tests__ Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ describe('InstantMeiliSearch instantiation', () => {
4444
4545 test ( 'instantiation with custom request config with correct type' , ( ) => {
4646 const searchClient = instantMeiliSearch ( 'http://localhost:7700' , '' , {
47- requestConfig : { } ,
47+ requestInit : { } ,
4848 } )
4949
5050 expect ( searchClient ) . toBeTruthy ( )
5151 } )
5252
5353 test ( 'instantiation with custom request config set to undefined' , ( ) => {
5454 const searchClient = instantMeiliSearch ( 'http://localhost:7700' , '' , {
55- requestConfig : undefined ,
55+ requestInit : undefined ,
5656 } )
5757
5858 expect ( searchClient ) . toBeTruthy ( )
@@ -62,9 +62,9 @@ describe('InstantMeiliSearch instantiation', () => {
6262 expect ( ( ) => {
6363 instantMeiliSearch ( 'http://localhost:7700' , '' , {
6464 // @ts -expect-error
65- requestConfig : '' ,
65+ requestInit : '' ,
6666 } )
67- } ) . toThrow ( 'Provided requestConfig should be an object' )
67+ } ) . toThrow ( 'Provided requestInit should be an object' )
6868 } )
6969
7070 test ( 'instantiation with custom HTTP client with correct type' , ( ) => {
You can’t perform that action at this time.
0 commit comments