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>
This commit is contained in:
7
.changeset/3761-consolidate-graphify-tests.md
Normal file
7
.changeset/3761-consolidate-graphify-tests.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
type: Fixed
|
||||
pr: 3762
|
||||
---
|
||||
<!-- docs-exempt: internal test refactor — no user-facing behavior changed -->
|
||||
|
||||
**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`.
|
||||
Reference in New Issue
Block a user