Skip to content

test(e2e): assert real team/summary prod shape in Batch B live-writes - #185

Merged
mastermanas805 merged 1 commit into
mainfrom
live-writes-summary-shape
Jun 5, 2026
Merged

test(e2e): assert real team/summary prod shape in Batch B live-writes#185
mastermanas805 merged 1 commit into
mainfrom
live-writes-summary-shape

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Follow-up to #184 (Batch B LIVE prod write specs). The W-TEAM GET /api/v1/team/summary leg landed asserting only typeof body === 'object' because this hardening commit was pushed seconds after auto-merge squashed #184.

This strengthens it to assert the REAL prod shape (team_summary.go): ok flag, tier, and the counts object (counts.resources object + numeric counts.members) — matching the documented contract instead of a bare type check.

Pure test-strengthening; no behavior change. tsc --noEmit clean; file self-skips in PR CI (E2E_LIVE!=1).

🤖 Generated with Claude Code

…typeof

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mastermanas805
mastermanas805 enabled auto-merge (squash) June 5, 2026 08:33
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

size-limit report 📦

Path Size
dist/assets/index-902QtfQT.js 161.98 KB (0%)
dist/assets/index-BsJUZYRr.css 6.13 KB (0%)

@mastermanas805
mastermanas805 merged commit 2efb086 into main Jun 5, 2026
18 checks passed
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