(result: Awaited<ReturnType<typeof getSuggestions>>)
| 379 | const queryInPathResult = await getSuggestions(queryInPathProvider, [query], 0, query.length); |
| 380 | |
| 381 | const normalize = (result: Awaited<ReturnType<typeof getSuggestions>>) => |
| 382 | (result?.items ?? []).map((item) => `${item.label} :: ${item.description ?? ""}`).sort(); |
| 383 | |
| 384 | assert.deepStrictEqual(normalize(queryInPathResult), normalize(normalResult)); |
| 385 | assert.ok( |
no outgoing calls
no test coverage detected