forked from Smartdevs17/SubTrackr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathissue15.json
More file actions
1 lines (1 loc) · 11.2 KB
/
issue15.json
File metadata and controls
1 lines (1 loc) · 11.2 KB
1
{"url":"https://api.github.com/repos/Smartdevs17/SubTrackr/issues/15","repository_url":"https://api.github.com/repos/Smartdevs17/SubTrackr","labels_url":"https://api.github.com/repos/Smartdevs17/SubTrackr/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Smartdevs17/SubTrackr/issues/15/comments","events_url":"https://api.github.com/repos/Smartdevs17/SubTrackr/issues/15/events","html_url":"https://github.com/Smartdevs17/SubTrackr/issues/15","id":4113267383,"node_id":"I_kwDOPdkJIM71K3q3","number":15,"title":"🧪 Add Jest tests for formatting utilities","user":{"login":"Smartdevs17","id":81881979,"node_id":"MDQ6VXNlcjgxODgxOTc5","avatar_url":"https://avatars.githubusercontent.com/u/81881979?v=4","gravatar_id":"","url":"https://api.github.com/users/Smartdevs17","html_url":"https://github.com/Smartdevs17","followers_url":"https://api.github.com/users/Smartdevs17/followers","following_url":"https://api.github.com/users/Smartdevs17/following{/other_user}","gists_url":"https://api.github.com/users/Smartdevs17/gists{/gist_id}","starred_url":"https://api.github.com/users/Smartdevs17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smartdevs17/subscriptions","organizations_url":"https://api.github.com/users/Smartdevs17/orgs","repos_url":"https://api.github.com/users/Smartdevs17/repos","events_url":"https://api.github.com/users/Smartdevs17/events{/privacy}","received_events_url":"https://api.github.com/users/Smartdevs17/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[{"id":10486414181,"node_id":"LA_kwDOPdkJIM8AAAACcQn7ZQ","url":"https://api.github.com/repos/Smartdevs17/SubTrackr/labels/good-first-issue","name":"good-first-issue","color":"7057ff","default":false,"description":"Good for newcomers"},{"id":10486414654,"node_id":"LA_kwDOPdkJIM8AAAACcQn9Pg","url":"https://api.github.com/repos/Smartdevs17/SubTrackr/labels/testing","name":"testing","color":"d4c5f9","default":false,"description":"Test related"},{"id":10488323645,"node_id":"LA_kwDOPdkJIM8AAAACcScePQ","url":"https://api.github.com/repos/Smartdevs17/SubTrackr/labels/Stellar%20Wave","name":"Stellar Wave","color":"5555ff","default":false,"description":"Issues in the Stellar wave program"}],"state":"open","locked":false,"assignees":[{"login":"Kristyidu","id":195349056,"node_id":"U_kgDOC6TKQA","avatar_url":"https://avatars.githubusercontent.com/u/195349056?v=4","gravatar_id":"","url":"https://api.github.com/users/Kristyidu","html_url":"https://github.com/Kristyidu","followers_url":"https://api.github.com/users/Kristyidu/followers","following_url":"https://api.github.com/users/Kristyidu/following{/other_user}","gists_url":"https://api.github.com/users/Kristyidu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kristyidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kristyidu/subscriptions","organizations_url":"https://api.github.com/users/Kristyidu/orgs","repos_url":"https://api.github.com/users/Kristyidu/repos","events_url":"https://api.github.com/users/Kristyidu/events{/privacy}","received_events_url":"https://api.github.com/users/Kristyidu/received_events","type":"User","user_view_type":"public","site_admin":false}],"milestone":null,"comments":3,"created_at":"2026-03-21T18:17:37Z","updated_at":"2026-03-24T20:52:05Z","closed_at":null,"assignee":{"login":"Kristyidu","id":195349056,"node_id":"U_kgDOC6TKQA","avatar_url":"https://avatars.githubusercontent.com/u/195349056?v=4","gravatar_id":"","url":"https://api.github.com/users/Kristyidu","html_url":"https://github.com/Kristyidu","followers_url":"https://api.github.com/users/Kristyidu/followers","following_url":"https://api.github.com/users/Kristyidu/following{/other_user}","gists_url":"https://api.github.com/users/Kristyidu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kristyidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kristyidu/subscriptions","organizations_url":"https://api.github.com/users/Kristyidu/orgs","repos_url":"https://api.github.com/users/Kristyidu/repos","events_url":"https://api.github.com/users/Kristyidu/events{/privacy}","received_events_url":"https://api.github.com/users/Kristyidu/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"OWNER","active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"## Problem\nNo tests exist for formatting utilities, risking incorrect display of currency, dates, and other values.\n\n## Context\nFormatting errors could cause users to see wrong prices or dates.\n\n## Proposed Solution\nCreate tests for all formatting functions:\n1. `formatCurrency` - various currencies, decimals\n2. `formatRelativeDate` - past, future, edge cases\n3. `formatBillingCycle` - all cycle types\n4. `formatCategory` - all category types\n\n## Acceptance Criteria\n- [ ] All exported functions tested\n- [ ] Edge cases covered (zero, negative, null)\n- [ ] Different locale considerations\n- [ ] All tests pass\n\n## Technical Notes\n**File:** `src/utils/__tests__/formatting.test.ts` (new)\n**Current:** `src/utils/formatting.ts`\n\n## Constraints\n- Test both positive and negative scenarios\n- Test boundary conditions","closed_by":null,"reactions":{"url":"https://api.github.com/repos/Smartdevs17/SubTrackr/issues/15/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/Smartdevs17/SubTrackr/issues/15/timeline","performed_via_github_app":null,"state_reason":null,"pinned_comment":null}