Files
msd-core/.changeset/3761-consolidate-graphify-tests.md
Tom Boucher c4e39bc23a refactor(tests): consolidate graphify Module — 7 files → 1 (#3769)
* refactor(tests): consolidate graphify Module — 7 files → 1

Closes #3761

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(tests): split graphify.test.cjs along describe-block seams — keep files ≤ 800 LOC

- tests/graphify.test.cjs (653 LOC): status + build
- tests/graphify-query.test.cjs (447 LOC): query
- tests/graphify-visualization.test.cjs (577 LOC): staleness + mvp-viz + regressions
- tests/graphify-auto-update.test.cjs (625 LOC): auto-update hook
- tests/helpers/graphify.cjs (112 LOC): shared helpers extracted

Total: 132 tests, 0 failures. Refs #3761.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 20:39:17 -04:00

738 B

type, pr
type pr
Fixed 3762

Consolidate graphify Module tests — 7 files → 1 (#3761) — collapses the test-as-changelog anti-pattern where each PR (enh-3170, bug-3166, feat-3347-config, feat-3347-hook, bug-3579) added a new standalone file instead of appending to the existing graphify.test.cjs. All 131 tests (plus one new counter-test for mvp-viz non-mvp path) are now in a single file organized into describe blocks by surface: status, build, query, staleness, mvp-viz, auto-update, regressions. Issue-stamped tests carry // Regression for #NNNN comments. Adds Knowledge Graph Module glossary entry to CONTEXT.md.