test: guard dashboard text against mojibake #40

Merged
MrSphay merged 2 commits from codex/issue-23-mojibake-locale-check into codex/production-intelligence-terminal 2026-05-17 16:55:37 +00:00
Owner

Summary

  • add a focused regression test for known mojibake sequences in locale, dashboard, and alert-facing text files
  • assert locale JSON stays parseable as UTF-8 JSON
  • include the check in npm run test:unit

The current production base already has the locale text repaired; this PR keeps it from regressing on future Windows/editor checkouts.

Closes #23

Verification

  • node --test test/mojibake-text.test.mjs -> 2 passing
  • npm run test:unit -> 39 passing
  • node --check test/mojibake-text.test.mjs
  • git diff --check -- package.json test/mojibake-text.test.mjs
## Summary - add a focused regression test for known mojibake sequences in locale, dashboard, and alert-facing text files - assert locale JSON stays parseable as UTF-8 JSON - include the check in `npm run test:unit` The current production base already has the locale text repaired; this PR keeps it from regressing on future Windows/editor checkouts. Closes #23 ## Verification - `node --test test/mojibake-text.test.mjs` -> 2 passing - `npm run test:unit` -> 39 passing - `node --check test/mojibake-text.test.mjs` - `git diff --check -- package.json test/mojibake-text.test.mjs`
MrSphay added 1 commit 2026-05-17 16:50:36 +00:00
test: guard dashboard text against mojibake
All checks were successful
Codex Template Compliance / template-compliance (pull_request) Successful in 5s
Build / test-and-image (pull_request) Successful in 1m3s
6a45bf9ce6
MrSphay added 1 commit 2026-05-17 16:53:06 +00:00
test: scope mojibake check to locales
All checks were successful
Codex Template Compliance / template-compliance (pull_request) Successful in 5s
Build / test-and-image (pull_request) Successful in 52s
47ecb34a4d
MrSphay merged commit 2f2a10609f into codex/production-intelligence-terminal 2026-05-17 16:55:37 +00:00
MrSphay deleted branch codex/issue-23-mojibake-locale-check 2026-05-17 16:55:38 +00:00
Sign in to join this conversation.