codeburn/packages
iamtoruk 5ea455ecbe test(cli): price off the bundled snapshot; fix platform-dependent proxy-path assertion
Two pre-existing CLI-suite failures blocked #923's new cli CI job on Linux:

- tests/models.test.ts DeepSeek v4 pricing (x3): loadPricing() fetched the
  live LiteLLM table during tests, and live data wins over the bundled
  snapshot, so the DeepSeek v4 assertions went red when upstream repriced.
  Ports main's fix (4866332b): CODEBURN_PRICING_SNAPSHOT_ONLY skips the fetch
  and prices purely off the bundled snapshot; env-isolation.ts sets it for
  the whole suite.

- tests/parser-proxy-pricing.test.ts case-insensitive isProxiedPath: the
  branch's isProxiedPath/normalizeProxyPath is byte-identical to main's
  (case folding is deliberately darwin/win32-only, per the function's own
  comment). The test hardcoded the macOS-only expectation, so it fails by
  design on Linux CI. Main hit and fixed the same thing (bcf11552); this
  ports that fix verbatim: assert the platform-correct behavior instead of
  a hardcoded `true`.
2026-08-21 08:11:34 -07:00
..
cli test(cli): price off the bundled snapshot; fix platform-dependent proxy-path assertion 2026-08-21 08:11:34 -07:00
core chore: stop emitting declaration maps 2026-07-27 15:22:15 -07:00