File tree 1 file changed +3
-3
lines changed
clients/algoliasearch-client-javascript/packages/algoliasearch/__tests__
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ describe('api', () => {
146
146
describe ( 'bridge methods' , ( ) => {
147
147
test ( 'throws when missing transformation.region' , ( ) => {
148
148
//@ts -expect-error
149
- expect ( ( ) => algoliasearch ( 'APP_ID' , 'API_KEY' , { transformation : { taskID : 'foo' } } ) ) . toThrow (
149
+ expect ( ( ) => algoliasearch ( 'APP_ID' , 'API_KEY' , { transformation : { } } ) ) . toThrow (
150
150
'`region` must be provided when leveraging the transformation pipeline' ,
151
151
) ;
152
152
} ) ;
@@ -159,7 +159,7 @@ describe('api', () => {
159
159
waitForTasks : true ,
160
160
} ) ,
161
161
) . 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.' ,
163
163
) ;
164
164
165
165
await expect (
@@ -169,7 +169,7 @@ describe('api', () => {
169
169
waitForTasks : true ,
170
170
} ) ,
171
171
) . 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.' ,
173
173
) ;
174
174
} ) ;
175
175
You can’t perform that action at this time.
0 commit comments