We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3568a92 commit 53a1115Copy full SHA for 53a1115
tests/meilisearch-test-utils.ts
@@ -36,9 +36,9 @@ const anonymousClient = new MeiliSearch({
36
37
const clearAllIndexes = async (config: Config): Promise<void> => {
38
const client = new MeiliSearch(config)
39
- let indexes: string[]
+
40
const response: IndexResponse[] = await client.getIndexes()
41
- indexes = response.map((elem: IndexResponse) => elem.uid)
+ const indexes = response.map((elem: IndexResponse) => elem.uid)
42
43
for (const indexUid of indexes) {
44
await client
0 commit comments