Files
msd-core/tests/model-alias-map.test.cjs
Tom Boucher c7e5a88353 enh(#466): refresh opus-tier model IDs to current GA (Opus 4.8 / codex gpt-5.5) (#467)
* enh: bump opus-tier model IDs to current GA (Opus 4.8 / codex gpt-5.5)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(#466): changeset for opus-tier model-ID refresh

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: CI Rebase Check <ci@gsd-redux>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 11:52:47 -04:00

28 lines
829 B
JavaScript

/**
* GSD Tools Tests - MODEL_ALIAS_MAP
*
* Verifies that model aliases map to current Claude model IDs.
* Regression test for #1690: aliases were pointing to outdated model versions.
*
* Uses node:test and node:assert/strict (NOT Jest).
*/
const { test, describe } = require('node:test');
const assert = require('node:assert/strict');
const { MODEL_ALIAS_MAP } = require('../get-shit-done/bin/lib/core.cjs');
describe('MODEL_ALIAS_MAP (#1690 regression)', () => {
test('opus maps to claude-opus-4-8', () => {
assert.equal(MODEL_ALIAS_MAP.opus, 'claude-opus-4-8');
});
test('sonnet maps to claude-sonnet-4-6', () => {
assert.equal(MODEL_ALIAS_MAP.sonnet, 'claude-sonnet-4-6');
});
test('haiku maps to claude-haiku-4-5', () => {
assert.equal(MODEL_ALIAS_MAP.haiku, 'claude-haiku-4-5');
});
});