Skip to content

Commit 53a1115

Browse files
committed
fix(meilisearch-test-utils): fix lint error
Signed-off-by: k-kumar-01 <[email protected]>
1 parent 3568a92 commit 53a1115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/meilisearch-test-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ const anonymousClient = new MeiliSearch({
3636

3737
const clearAllIndexes = async (config: Config): Promise<void> => {
3838
const client = new MeiliSearch(config)
39-
let indexes: string[]
39+
4040
const response: IndexResponse[] = await client.getIndexes()
41-
indexes = response.map((elem: IndexResponse) => elem.uid)
41+
const indexes = response.map((elem: IndexResponse) => elem.uid)
4242

4343
for (const indexUid of indexes) {
4444
await client

0 commit comments

Comments
 (0)