File tree 1 file changed +1
-8
lines changed
clients/algoliasearch-client-javascript/packages/algoliasearch/__tests__ 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,6 @@ describe('api', () => {
151
151
) ;
152
152
} ) ;
153
153
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
-
161
154
test ( 'throws when calling the transformation methods without init parameters' , async ( ) => {
162
155
await expect (
163
156
client . saveObjectsWithTransformation ( {
@@ -183,7 +176,7 @@ describe('api', () => {
183
176
test ( 'exposes the transformation methods at the root of the client' , async ( ) => {
184
177
const ingestionClient = algoliasearch ( 'APP_ID' , 'API_KEY' , {
185
178
requester : browserEchoRequester ( ) ,
186
- transformation : { taskID : 'foo' , region : 'us' } ,
179
+ transformation : { region : 'us' } ,
187
180
} ) ;
188
181
189
182
expect ( ingestionClient . saveObjectsWithTransformation ) . not . toBeUndefined ( ) ;
You can’t perform that action at this time.
0 commit comments