Files
socraticode/tests/unit
Matteo Di Mattia 8be929a1c2 test(graph): add Lua extractor + whitelist-discovery tests
Address maintainer review on PR #67.

- Add a dedicated `describe("Lua")` block locking in qualified
  `Table.method` / `T:m()` names, `local function`, both
  `T.f = function() … end` and `local f = function() … end` assignment
  forms, call attribution to the enclosing function, top-level calls
  falling back to `<module>`, and dotted-callee resolution.
- Move the former "handles Lua via regex fallback" test out of the
  regex-fallback block (Lua now routes to extractFromLua) and give it
  real assertions; drop "Lua" from that block's title.
- Add a whitelist `.gitignore` regression test (`/*` then `!/src/`)
  asserting files under the re-included dir are discovered; export
  getGraphableFiles so the test can exercise discovery directly.
- Match the dynamic-grammar style for the Lua parse call
  (`parse("lua" as unknown as Lang, source)`).
2026-06-09 19:58:54 +02:00
..