GitNexus/gitnexus/test
Gary Magyar 4dbb4e2a70 fix: guard createASTCache against zero maxSize to prevent LRU cache crash
When a repo has no parseable files (e.g., unsupported languages or all
files filtered out), chunks.reduce returns 0, causing createASTCache(0)
to pass max:0 to LRUCache which throws TypeError. This clamps maxSize
to at least 1 and adds a progress message when no parseable files exist.
2026-03-02 08:47:20 +00:00
..
fixtures test: add test suite with vitest (unit + integration + fixtures) 2026-03-01 20:07:02 +05:30
helpers test: add test suite with vitest (unit + integration + fixtures) 2026-03-01 20:07:02 +05:30
integration test: add test suite with vitest (unit + integration + fixtures) 2026-03-01 20:07:02 +05:30
unit fix: guard createASTCache against zero maxSize to prevent LRU cache crash 2026-03-02 08:47:20 +00:00