Skip to content

Extract shared grand total score helpers#663

Merged
wyne merged 1 commit into
mainfrom
codex/extract-score-helpers
Jun 17, 2026
Merged

Extract shared grand total score helpers#663
wyne merged 1 commit into
mainfrom
codex/extract-score-helpers

Conversation

@wyne

@wyne wyne commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • add shared grand total and previous-round score helper functions
  • use the grand total helper from player selectors and score sorting
  • add direct unit coverage for the score helpers

Tests

  • npm run lint
  • npx jest --silent redux/scoreUtils.test.ts --watchman=false --coverage=false

Note: the focused Jest run passed but emitted duplicate manual mock warnings from .claude/worktrees being visible to Jest.

Comment thread redux/scoreUtils.ts Outdated
@wyne wyne force-pushed the codex/extract-score-helpers branch from 3cbc9d0 to c2f5ff4 Compare June 17, 2026 03:55
@wyne wyne changed the title Extract shared score total helpers Extract shared grand total score helpers Jun 17, 2026
@wyne wyne changed the base branch from codex/defer-swipe-score-commits to main June 17, 2026 03:55
@wyne

wyne commented Jun 17, 2026

Copy link
Copy Markdown
Owner Author

Addressed review comment: renamed the shared helper to grandTotalScore and updated callers/tests to match the current naming convention. Also rebased the PR onto main so the diff is isolated from codex/defer-swipe-score-commits.

@wyne wyne merged commit 9ac78cb into main Jun 17, 2026
1 check passed
@wyne wyne deleted the codex/extract-score-helpers branch June 17, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant