[PR #5118] [MERGED] Added unit tests for CategorySelector and Change components #5766

Closed
opened 2026-02-28 21:18:13 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5118
Author: @MatissJanis
Created: 6/6/2025
Status: Merged
Merged: 6/14/2025
Merged by: @MatissJanis

Base: masterHead: test/category-selector


📝 Commits (10+)

  • 0199173 test: add unit test for CategorySelector component
  • 6a11ecc test: add and update unit tests for CategorySelector and Change components
  • 390db21 chore: add changelog for improved CategorySelector and Change component tests
  • c2f1146 Changelog file
  • cbfecb1 Update PR rule
  • a3c54ce Merge branch 'master' into test/category-selector
  • 6d2df49 Merge branch 'master' into test/category-selector
  • 237d996 Update instructions
  • 6f4f7e2 Merge branch 'master' into test/category-selector
  • c3dd136 Update

📊 Changes

9 files changed (+304 additions, -1 deletions)

View changed files

.cursor/rules/pull-request.mdc (+24 -0)
.cursor/rules/typescript.mdc (+32 -0)
.cursor/rules/unit-tests.mdc (+14 -0)
📝 packages/desktop-client/package.json (+1 -0)
packages/desktop-client/src/components/reports/CategorySelector.test.tsx (+126 -0)
packages/desktop-client/src/components/reports/Change.test.tsx (+36 -0)
📝 packages/desktop-client/src/setupTests.js (+1 -0)
upcoming-release-notes/5118.md (+6 -0)
📝 yarn.lock (+64 -1)

📄 Description

This PR improves and expands the unit tests for the CategorySelector and Change components, increasing coverage and reliability.

  • Adds new tests for CategorySelector
  • Updates and refines tests for Change component
  • Ensures better coverage and reliability

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5118 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 6/6/2025 **Status:** ✅ Merged **Merged:** 6/14/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `test/category-selector` --- ### 📝 Commits (10+) - [`0199173`](https://github.com/actualbudget/actual/commit/019917316027a3e12c1aaf4266ea208947277239) test: add unit test for CategorySelector component - [`6a11ecc`](https://github.com/actualbudget/actual/commit/6a11ecc327a2e0e613031f601ceb8946058bbe9a) test: add and update unit tests for CategorySelector and Change components - [`390db21`](https://github.com/actualbudget/actual/commit/390db21326d388a0af67f64b5a5eed9e48887c30) chore: add changelog for improved CategorySelector and Change component tests - [`c2f1146`](https://github.com/actualbudget/actual/commit/c2f11464634a520a99dc9045ca2dff8c6a95a7d8) Changelog file - [`cbfecb1`](https://github.com/actualbudget/actual/commit/cbfecb10dd44121a5a7e2722a4ebffa58722f0f6) Update PR rule - [`a3c54ce`](https://github.com/actualbudget/actual/commit/a3c54ce501e989b684ba10e48a377fc463aa21d4) Merge branch 'master' into test/category-selector - [`6d2df49`](https://github.com/actualbudget/actual/commit/6d2df49dbef24f90d6f76c6e2bc44b1fe3775310) Merge branch 'master' into test/category-selector - [`237d996`](https://github.com/actualbudget/actual/commit/237d9966206395e8fa0b30f35ec2e77b357bae2b) Update instructions - [`6f4f7e2`](https://github.com/actualbudget/actual/commit/6f4f7e24b6551935122805c0a7b61fdc45874daa) Merge branch 'master' into test/category-selector - [`c3dd136`](https://github.com/actualbudget/actual/commit/c3dd136a1c797652f8e2539b7ea0227af38e1699) Update ### 📊 Changes **9 files changed** (+304 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.cursor/rules/pull-request.mdc` (+24 -0) ➕ `.cursor/rules/typescript.mdc` (+32 -0) ➕ `.cursor/rules/unit-tests.mdc` (+14 -0) 📝 `packages/desktop-client/package.json` (+1 -0) ➕ `packages/desktop-client/src/components/reports/CategorySelector.test.tsx` (+126 -0) ➕ `packages/desktop-client/src/components/reports/Change.test.tsx` (+36 -0) 📝 `packages/desktop-client/src/setupTests.js` (+1 -0) ➕ `upcoming-release-notes/5118.md` (+6 -0) 📝 `yarn.lock` (+64 -1) </details> ### 📄 Description This PR improves and expands the unit tests for the CategorySelector and Change components, increasing coverage and reliability. - Adds new tests for CategorySelector - Updates and refines tests for Change component - Ensures better coverage and reliability --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:18:13 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5766