()
| 130 | }); |
| 131 | |
| 132 | async function refreshIndex() { |
| 133 | const abortController = new AbortController(); |
| 134 | const abortSignal = abortController.signal; |
| 135 | |
| 136 | const updates = []; |
| 137 | for await (const update of codebaseIndexer.refreshDirs( |
| 138 | [TEST_DIR], |
| 139 | abortSignal, |
| 140 | )) { |
| 141 | updates.push(update); |
| 142 | } |
| 143 | return updates; |
| 144 | } |
| 145 | |
| 146 | async function getAllIndexedFiles() { |
| 147 | const files = await testIndex.getIndexedFilesForTags( |
no test coverage detected