You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A contributor finds out before review when a test changes observable state outside an action: one global check in the jest setup fails any test that triggers a MobX action warning.
Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.
Acceptance criteria
The jest setup fails a test when MobX warns that observable state was changed outside an action during that test.
A test proves the check: a write outside an action fails, the same write inside runInAction passes.
The whole suite passes with the check on; a warning it surfaces is fixed by making the member an action or by runInAction, not by a configure call.
Jest, lint, the typecheck baseline check and the end-to-end suite pass.
Activity