--- name: migrate-to-shoehorn description: Replace suitable TypeScript test assertions with an admitted partial-fixture helper. disable-model-invocation: true metadata: relayview-display-name: Migrate to shoehorn relayview-version: 0.13.0 --- # TypeScript test fixture migration Use this procedure only for an assigned change to TypeScript tests. Inspect the affected assertions and the project's dependency policy before editing. If `@total-typescript/shoehorn` is not installed, use the Implementer's admitted dependency-acquisition path; if that path is unavailable, report the missing prerequisite. Do not install through an unapproved network command. Replace a partial object assertion with `fromPartial` when the supplied properties should still type-check. Use `fromAny` only for an intentional invalid-input test, and make that purpose visible in the test. Preserve complete fixtures when they express the behavior better. Keep production code free of the helper. Run focused tests and type checking on the changed test area. State which assertions changed and whether the tests still exercise the intended failure and success paths. This migration does not weaken a behavior contract or count as owner-verified validation by itself.