Files
hermes-agent/tests/website
teknium1 668a778606 test(i18n): make the zh-Hans Bot Mode parity checks invariants, not change-detectors
The heading-sequence and code-block-count tests pinned the English page's exact shape, so any English-only edit of bot-mode.md (e.g. #113411 adds a heading) turned main red until the translation was re-synced. Replace them with two invariants of the translation itself: the page exists and routes like the English page (front matter id/slug agree), and every zh-Hans code block is a byte-accurate copy of a block that still exists in the English page, so only a genuinely stale command/config in the translation fails.
2026-09-16 17:13:00 -07:00
..