File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
clients/algoliasearch-client-javascript/packages/algoliasearch/__tests__ Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,6 @@ describe('api', () => {
151151 ) ;
152152 } ) ;
153153
154- test ( 'throws when missing transformation.taskID' , ( ) => {
155- //@ts -expect-error
156- expect ( ( ) => algoliasearch ( 'APP_ID' , 'API_KEY' , { transformation : { region : 'us' } } ) ) . toThrow (
157- '`taskID` must be provided when leveraging the transformation pipeline' ,
158- ) ;
159- } ) ;
160-
161154 test ( 'throws when calling the transformation methods without init parameters' , async ( ) => {
162155 await expect (
163156 client . saveObjectsWithTransformation ( {
@@ -183,7 +176,7 @@ describe('api', () => {
183176 test ( 'exposes the transformation methods at the root of the client' , async ( ) => {
184177 const ingestionClient = algoliasearch ( 'APP_ID' , 'API_KEY' , {
185178 requester : browserEchoRequester ( ) ,
186- transformation : { taskID : 'foo' , region : 'us' } ,
179+ transformation : { region : 'us' } ,
187180 } ) ;
188181
189182 expect ( ingestionClient . saveObjectsWithTransformation ) . not . toBeUndefined ( ) ;
You can’t perform that action at this time.
0 commit comments