mirror of
https://github.com/Heretek-AI/Token-Max.git
synced 2026-10-12 02:03:18 +00:00
test(pricing): add vitest suite for pricing math and stacking invariants
- covers agent-request cost formula, weighted/value scores, budget filters, plan-model matching, apples-to-apples rows, stack candidate selection, Dave stacks and Mix & Match budget/distinctness properties - run tests in the deploy workflow alongside lint and data validation
This commit is contained in:
@@ -36,6 +36,9 @@ jobs:
|
||||
- name: Validate data invariants
|
||||
run: npm run validate-data
|
||||
|
||||
- name: Run unit tests
|
||||
run: npm test
|
||||
|
||||
- name: Build site
|
||||
run: npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user