claude-exporter/tests
tux tucker c794875c5f Expand model ID parsing tests + doc-link the schema
Add vitest coverage for the documented model ID shapes (dateless 4.6+,
dated pre-4.6, convenience aliases) across all three known families,
plus regression for the \d{1,2} minor boundary, unknown-family
fallthrough (using a hypothetical claude-mythos-* as the example), and
a sanity check that every DEFAULT_MODEL_TIMELINE entry parses cleanly
through formatModelName.

Drop a comment above formatModelName linking to Anthropic's official
model-ids docs so future maintainers know which shapes are supposed to
be supported.

52 tests passing (was 36).
2026-05-11 22:45:34 -04:00
..
utils.test.js Expand model ID parsing tests + doc-link the schema 2026-05-11 22:45:34 -04:00