From 27c8b66704ded455fd9496db5a5b07e68e28e324 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 26 Aug 2026 11:35:22 +0000 Subject: [PATCH] test(core): name the closed-surface pin after the project that compiles it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The it() name at packages/core/src/actions/__tests__/actionDef-closed-surface.test.ts cited `tsconfig.typetests.json` in the present tense. Zero files by that name exist anywhere in the repo — the narrow per-file project was retired when the package graduated (objectui#4040), and what actually compiles this file is `packages/core/tsconfig.test.json`, chained off the package's `type-check`. Only the string the runner prints changes. The assertions beneath it, the file's prose and every other file are untouched. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_011SfZeFWrhGLHmfq61xbz4q --- .changeset/6548-stale-test-name.md | 8 ++++++++ .../actions/__tests__/actionDef-closed-surface.test.ts | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/6548-stale-test-name.md diff --git a/.changeset/6548-stale-test-name.md b/.changeset/6548-stale-test-name.md new file mode 100644 index 000000000..50ccd2cc9 --- /dev/null +++ b/.changeset/6548-stale-test-name.md @@ -0,0 +1,8 @@ +--- +--- + +Test-only change in `@object-ui/core`: renamed one `it()` in +`actionDef-closed-surface.test.ts` so its reported name cites `tsconfig.test.json`, +the project that actually compiles the file, instead of the retired +`tsconfig.typetests.json` (objectui#4040). No assertion, source file or published +behaviour changes — only the string the runner prints. diff --git a/packages/core/src/actions/__tests__/actionDef-closed-surface.test.ts b/packages/core/src/actions/__tests__/actionDef-closed-surface.test.ts index 45d13007e..e56e2e2f6 100644 --- a/packages/core/src/actions/__tests__/actionDef-closed-surface.test.ts +++ b/packages/core/src/actions/__tests__/actionDef-closed-surface.test.ts @@ -121,7 +121,7 @@ const _navigationAlias: ActionDef = { const _navNewTabString: ActionDef = { type: 'navigation', to: '/x', newTab: 'new-tab' }; describe('ActionDef is a closed surface (objectstack#4075 step 3)', () => { - it('states its contract as types, compiled by tsconfig.typetests.json', () => { + it('states its contract as types, compiled by tsconfig.test.json', () => { // The assertions above are the test. This body exists so the file is a // legitimate vitest suite as well as a tsc input, and so a reader running // the suite sees the pin acknowledged rather than an empty file.