Commit Graph
4 Commits
Author SHA1 Message Date
Chris Troutner 0159119921 Reduce DRY duplication in unit and property tests
Extract shared test helpers for the Memo post and Set Name behavior
slices: fake wallet/profiles, MemoAction tests, page-controller tests,
page build wiring, and shared property-test invariants. Behavior is
preserved; all unit, property, and acceptance tests pass.

By refactorer.
2026-08-25 20:30:24 -07:00
Chris Troutner d79b9f04bd Refactor memo actions and page controllers to share base classes
Extract MemoAction and PageController base classes to remove structural
duplication between the memo post/set-name actions and the new post/set-name
page controllers. Add property tests for the set-name byte counter and
validation invariants. Refresh mutation manifests for the refactored files.

By refactorer.
2026-08-25 19:55:20 -07:00
Chris Troutner 66a684923c Refactor new-post failure handling and add property coverage
- Extract _handleSubmitFailure helper to lower submit() complexity
- Refresh mutation manifest via approved tool
- Add property test for broadcast-failure surfacing/no-navigation

By refactorer.
2026-08-25 17:38:44 -07:00
Chris Troutner d57975c466 Add property tests for memo post and new post invariants
- Add a small seeded property-testing harness (node:test based)
- Property-test validation classification, character-counter
  conservation, setInput round-trip, and menu-link idempotence
- Expose as explicit test:property command, separate from unit tests

By refactorer.
2026-08-25 17:06:00 -07:00