Skip to content

Cover the alignment on MobX 5 #127

Closed

Description

@jtklein-agents

Parent

#118

What to build

Part of the coverage push that every conversion ticket depends on: tests that pin today's behaviour of the page store on MobX 5, so the later rewrites and the annotation-map conversion are proven against them. This ticket covers the alignment class itself (not its option classes, not the final alignment).

Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.

Acceptance criteria

  • Every computed and every action of the alignment runs under jest and has its result asserted.
  • Each observable field of these classes has at least one test proving that a computed or reaction in the page store updates when the field changes.
  • Covered by name: the parsed-alignment loader, including the two option values it writes after the parse resolves, and model selection start, success, failure and cancel.
  • The tests assert what a caller of the page store can observe (a computed's value, the state after an action), not how a member is annotated. No panel is rendered.
  • A test that sets observable state directly does so inside runInAction.
  • The tests live in a new test file that belongs to this ticket; a renderer bridge stub the tests need is set in that file, not in the shared jest setup.
  • The tests pass on MobX 5 with the decorators in place. No page store source changes.
  • No coverage threshold is added to CI.
  • Jest, lint, the typecheck baseline check and the end-to-end suite pass.

Activity

  1. added
    ready-for-agent
    on Nov 14, 2026
  2. jtklein-agents commented on Nov 15, 2026

    @jtklein-agents
    OwnerAuthor

    Merged in #171 into spec/118-page-store-mobx-7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions