Changesets · Branches · Tags · Compare
| Changeset | 94488b344dece4e8dbd404f348a115e9db12f5a5239835d10fd2e5e66cd69cde |
|---|---|
| Author | adarshramiyer <adarsh.r.iyer@gmail.com> · 2025-06-09 14:10 -07:00 |
| Committer | adarshramiyer <adarsh.r.iyer@gmail.com> · 2025-06-09 18:24 -07:00 |
| Parents | ed4a3f5ddb21 |
2 files changed
modified core/autocomplete/templating/__tests__/formatOpenedFilesContext.test.ts +1 −1
| @@ -266,7 +266,7 @@ | ||
| 266 | 266 | expect(result.length).toBeGreaterThan(0); |
| 267 | 267 | |
| 268 | 268 | // The snippets should be ranked in some order, which may not match input order |
| 269 | - expect(result.map((s) => s.filepath)).not.toEqual( | |
| 269 | + expect(result.map((s: { filepath: any }) => s.filepath)).not.toEqual( | |
| 270 | 270 | snippets.map((s) => s.filepath), |
| 271 | 271 | ); |
| 272 | 272 | }); |
modified core/autocomplete/templating/formatOpenedFilesContext.ts +2 −2
| @@ -164,9 +164,9 @@ | ||
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | // Uncomment for testing |
| 167 | -/* export { | |
| 167 | +export { | |
| 168 | 168 | getRecencyAndSizeScore, |
| 169 | 169 | rankByScore, |
| 170 | 170 | setLogStats, |
| 171 | 171 | trimSnippetForContext, |
| 172 | -}; */ | |
| 172 | +}; |