Skip to content

Conversation

@seer-by-sentry
Copy link
Contributor

test: add unit tests for PR#1058

This PR adds comprehensive unit tests for the changes introduced in PR#1058.

Changes:

  • test: Add unit tests for get_subscription_plan function

Add comprehensive unit tests covering the new get_subscription_plan function
including happy path tests for monthly and annual subscription types, and
edge cases for invalid inputs (None, empty string, unexpected values).

  • test: Add unit tests for get_subscription_plan function

Add comprehensive unit tests covering the new get_subscription_plan function
including happy path tests for monthly and annual subscription types, and
edge cases for invalid inputs (None, empty string, unexpected values).

@vercel
Copy link

vercel bot commented Oct 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
empower Error Error Oct 16, 2025 4:14pm

@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.00%. Comparing base (f07249b) to head (8f4a77e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           sentry_prevent_demo_v2    #1059      +/-   ##
==========================================================
+ Coverage                   26.74%   28.00%   +1.25%     
==========================================================
  Files                          41       41              
  Lines                        1103     1057      -46     
  Branches                      121      115       -6     
==========================================================
+ Hits                          295      296       +1     
+ Misses                        788      742      -46     
+ Partials                       20       19       -1     
Flag Coverage Δ
api 7.03% <ø> (+0.72%) ⬆️
frontend 44.72% <ø> (+0.60%) ⬆️
Components Coverage Δ
checkout_module 7.03% <ø> (+0.72%) ⬆️
product_component 41.47% <ø> (+0.83%) ⬆️
see 7 files with indirect coverage changes

@maxkosty maxkosty closed this Oct 23, 2025
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