Break down #16 into implementable work units — Phase 2: Pure logic tests — test services/pricing.ts, services/providers.ts, data/services.ts, types/quota.ts, lib/utils.ts. These are pure functions/constants with no React dependency, so they can run… #480

Closed
opened 2026-06-09 17:27:09 +00:00 by Mark · 1 comment
Owner

Phase 1: Pure logic tests — test services/pricing.ts, services/providers.ts, data/services.ts, types/quota.ts, lib/utils.ts. These are pure functions/constants with no React dependency, so they can run without jsdom. Fastest ROI for coverage.

Files: src/test/services/pricing.test.ts, src/test/services/providers.test.ts, src/test/data/services.test.ts, src/test/types/quota.test.ts, src/test/lib/utils.test.ts
Depends on: P1


Decomposed from llm_quota#17


Decomposed from llm_quota#20


Decomposed from llm_quota#378


Decomposed from llm_quota#479

## Phase 1: Pure logic tests — test services/pricing.ts, services/providers.ts, data/services.ts, types/quota.ts, lib/utils.ts. These are pure functions/constants with no React dependency, so they can run without jsdom. Fastest ROI for coverage. **Files:** src/test/services/pricing.test.ts, src/test/services/providers.test.ts, src/test/data/services.test.ts, src/test/types/quota.test.ts, src/test/lib/utils.test.ts **Depends on:** P1 --- _Decomposed from [llm_quota#17](https://forgejo.tail018ac4.ts.net/Mark/llm_quota/issues/17)_ --- _Decomposed from [llm_quota#20](https://forgejo.tail018ac4.ts.net/Mark/llm_quota/issues/20)_ --- _Decomposed from [llm_quota#378](https://forgejo.tail018ac4.ts.net/Mark/llm_quota/issues/378)_ --- _Decomposed from [llm_quota#479](https://forgejo.tail018ac4.ts.net/Mark/llm_quota/issues/479)_
Author
Owner

This issue has been decomposed into the following sub-issues:

# Title Phase Scope
#481 Break down #16 into implementable work units — Phase 2: Pure Files: src/test/services/pricing.test.ts, src/test/services/providers.test.t

Each sub-issue has been labeled with needs-triage and will be evaluated by the triage pipeline before queue routing.

This issue has been decomposed into the following sub-issues: | # | Title | Phase Scope | |---|-------|-------------| | #481 | Break down #16 into implementable work units — Phase 2: Pure | **Files:** src/test/services/pricing.test.ts, src/test/services/providers.test.t | Each sub-issue has been labeled with `needs-triage` and will be evaluated by the triage pipeline before queue routing.
Mark 2026-06-09 17:34:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/llm_quota#480
No description provided.