You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/instantsearch.js/src/lib/__tests__/InstantSearch-test.tsx
-23Lines changed: 0 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -294,29 +294,6 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
294
294
`);
295
295
});
296
296
297
-
it('warns dev with EXPERIMENTAL_use',()=>{
298
-
constsearchClient=createSearchClient({
299
-
addAlgoliaAgent: jest.fn(),
300
-
});
301
-
302
-
constsearch=newInstantSearch({
303
-
indexName: 'indexName',
304
-
searchClient,
305
-
});
306
-
307
-
constmiddleware=()=>({
308
-
onStateChange: ()=>{},
309
-
subscribe: ()=>{},
310
-
unsubscribe: ()=>{},
311
-
});
312
-
313
-
expect(()=>{
314
-
search.EXPERIMENTAL_use(middleware);
315
-
}).toWarnDev(
316
-
'[InstantSearch.js]: The middleware API is now considered stable, so we recommend replacing `EXPERIMENTAL_use` with `use` before upgrading to the next major version.'
0 commit comments