Files
rose-ash/lib/commerce/tests
giles 563fac9e62
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m5s
commerce: line-level discount attribution (16 tests) — Phase 5 ext
attribution.sx — the briefing's marquee "which line item triggered this
discount?" backward query. promo-lines gives each promo's pure scope
(percent/member -> class lines, bundle -> sku lines, fixed -> order-level);
promo-toucheso relates (code, line) for applying promos, run forward
(lines-for-code) and backward (codes-for-line). Additive; promo amounts
unchanged. Total 201/201 across 12 suites.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 10:30:38 +00:00
..