Skip to content

Commit 15d92f9

Browse files
committed
remove scoreDetails experimental feature activation
1 parent 3dbb1e2 commit 15d92f9

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/search.test.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)