Skip to content

test(planner): expand unit test coverage for PlannerContext and PlannerScreen - #169

Merged
GiZano merged 2 commits into
mainfrom
test/planner-tests-124-137
Oct 14, 2026
Merged

GiZano merged 2 commits into
mainfrom
test/planner-tests-124-137

Conversation

@GiZano

@GiZano GiZano commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

This pull request description was written by an AI agent.

Summary

Completes comprehensive unit test suites for PlannerContext and PlannerScreen:

  • src/store/PlannerContext.tsx: 30 unit tests covering lifecycle, category/template CRUD, calendar synchronization, week navigation, hours calculation, and week clearing (100% line coverage).
  • src/screens/PlannerScreen.tsx: 24 unit tests covering header options, week navigation, summary, confirmation dialogs, block modal editing/deletions, time pickers (Android & iOS), slot scheduling, and modal dismissal / onRequestClose (100% line coverage).

Closes #124
Closes #137

AI Generation Disclosure

  • Tool / Agent: Antigravity CLI paired with Gemini 2.5 Pro
  • Files generated/modified:
    • src/store/__tests__/PlannerContext.test.tsx
    • src/screens/__tests__/PlannerScreen.test.tsx

…erScreen (AI-generated)

Add comprehensive unit tests for PlannerContext (100% lines) and PlannerScreen (97.8% lines).

Closes #124
Closes #137
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@GiZano
GiZano merged commit d17e18d into main Oct 14, 2026
5 checks passed
@GiZano
GiZano deleted the test/planner-tests-124-137 branch October 14, 2026 21:00
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.

[FEAT] Add tests for src/screens/PlannerScreen.tsx [FEAT] Add tests for src/store/PlannerContext.tsx

1 participant