File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -271,18 +271,8 @@ describe.each([
271271 expect ( hit ) . toHaveProperty ( '_rankingScore' )
272272 } )
273273
274- test ( `${ permission } key: search with showRankingScoreDetails enabled ` , async ( ) => {
274+ test ( `${ permission } key: search with showRankingScoreDetails` , async ( ) => {
275275 const client = await getClient ( permission )
276- const key = await getKey ( permission )
277-
278- await fetch ( `${ HOST } /experimental-features` , {
279- body : JSON . stringify ( { scoreDetails : true } ) ,
280- headers : {
281- Authorization : `Bearer ${ key } ` ,
282- 'Content-Type' : 'application/json' ,
283- } ,
284- method : 'PATCH' ,
285- } )
286276
287277 const response = await client . index ( index . uid ) . search ( 'prince' , {
288278 showRankingScoreDetails : true ,
You can’t perform that action at this time.
0 commit comments