From 15d92f91b5a65680ca93aede7449b46859e4c40c Mon Sep 17 00:00:00 2001 From: nicolasvienot Date: Mon, 19 Feb 2024 15:40:51 +0100 Subject: [PATCH] remove scoreDetails experimental feature activation --- tests/search.test.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/search.test.ts b/tests/search.test.ts index 907630b94..b5053156e 100644 --- a/tests/search.test.ts +++ b/tests/search.test.ts @@ -271,18 +271,8 @@ describe.each([ expect(hit).toHaveProperty('_rankingScore') }) - test(`${permission} key: search with showRankingScoreDetails enabled`, async () => { + test(`${permission} key: search with showRankingScoreDetails`, async () => { const client = await getClient(permission) - const key = await getKey(permission) - - await fetch(`${HOST}/experimental-features`, { - body: JSON.stringify({ scoreDetails: true }), - headers: { - Authorization: `Bearer ${key}`, - 'Content-Type': 'application/json', - }, - method: 'PATCH', - }) const response = await client.index(index.uid).search('prince', { showRankingScoreDetails: true,