File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clients/algoliasearch-client-javascript/packages/algoliasearch/__tests__ Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ describe('api', () => {
146146 describe ( 'bridge methods' , ( ) => {
147147 test ( 'throws when missing transformation.region' , ( ) => {
148148 //@ts -expect-error
149- expect ( ( ) => algoliasearch ( 'APP_ID' , 'API_KEY' , { transformation : { taskID : 'foo' } } ) ) . toThrow (
149+ expect ( ( ) => algoliasearch ( 'APP_ID' , 'API_KEY' , { transformation : { } } ) ) . toThrow (
150150 '`region` must be provided when leveraging the transformation pipeline' ,
151151 ) ;
152152 } ) ;
@@ -159,7 +159,7 @@ describe('api', () => {
159159 waitForTasks : true ,
160160 } ) ,
161161 ) . rejects . toThrow (
162- '`transformation.taskID` and `transformation. region` must be provided at client instantiation before calling this method.' ,
162+ '`transformation.region` must be provided at client instantiation before calling this method.' ,
163163 ) ;
164164
165165 await expect (
@@ -169,7 +169,7 @@ describe('api', () => {
169169 waitForTasks : true ,
170170 } ) ,
171171 ) . rejects . toThrow (
172- '`transformation.taskID` and `transformation. region` must be provided at client instantiation before calling this method.' ,
172+ '`transformation.region` must be provided at client instantiation before calling this method.' ,
173173 ) ;
174174 } ) ;
175175
You can’t perform that action at this time.
0 commit comments