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… #20

Closed
opened 2026-05-26 20:38:12 +00:00 by Mark · 1 comment
Owner

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 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

## 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 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)_
Author
Owner

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

# Title Phase Scope
#378 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 | |---|-------|-------------| | #378 | 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 closed this issue 2026-05-28 16:08:07 +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#20
No description provided.