Files
vscode/extensions/copilot/test
Ulugbek Abdullaev 0c15482d09 copilot: remove leftover code from /tests test-generation codelens (#318609)
Remove leftover code from /tests test-generation codelens

The codelens feature for /tests test generation was removed in
c0eaa94d6a, but related infrastructure remained as dead code:

- ITestGenInfoStorage was never populated (the deleted testGenAction.ts
  was the only writer), so TestFromTestInvocation and Test2Impl always
  took the 'undefined' branch.
- IParserService.getTreeSitterAST().getTestableNode/getTestableNodes
  and the underlying testGenParsing helpers + testableNodeQueries had
  no remaining callers.

Delete the storage service, the parser API, the tree-sitter queries,
and the related tests. The /tests slash command itself is preserved;
`_findLastTest` stays since testFromSrcInvocation.tsx still uses it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-27 20:42:30 +00:00
..