GitNexus/gitnexus/test/fixtures/scenario-map-recall
Gergő Magyar 7af4a274e1
test: remove duplicate nullable helper cases (#3782)
Retain all 82 recall-audit pairs by preserving the removed callbacks as static fixtures. Keep seven unique type-env inputs and the frozen mutation oracle unchanged.

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-10-31 04:40:03 +00:00
..
audit.json test: remove duplicate nullable helper cases (#3782) 2026-10-31 04:40:03 +00:00
README.md test: remove duplicate nullable helper cases (#3782) 2026-10-31 04:40:03 +00:00
retired-type-env.ts test: remove duplicate nullable helper cases (#3782) 2026-10-31 04:40:03 +00:00

Recall audit sources

audit.json records manually reviewed positive pairs and distinct scenarios from PR #3686. The runtime detector still decides whether retrieved candidates are duplicates.

retired-type-env.ts preserves 12 pure stripNullable callbacks removed from test/unit/type-env.test.ts after the full detector run on PR #3743 confirmed their duplicates in test/unit/shared-type-extractors.test.ts. The callbacks and suite titles were copied from commit bd9586e008c6a2dbcd2f15598a3a20c3f2f44f03; only the import's relative path changed. These cases have no hooks or mocks.

The .ts suffix keeps this source fixture out of Vitest's *.test.ts discovery. recall-audit.test.ts explicitly parses it, keeping all 82 positive audit pairs while the ordinary test suite executes each of these 12 scenarios once. The seven other stripNullable cases remain in type-env.test.ts.