Back to Plate

Slate V2 Utils And Root Test Entrypoint Closure

docs/plans/2026-04-09-slate-v2-utils-and-root-test-entrypoint-closure.md

53.0.62.7 KB
Original Source

Slate V2 Utils And Root Test Entrypoint Closure

Scope

Close the deleted packages/slate/test/utils/** family plus the root deleted test entrypoints:

  • packages/slate/test/index.js
  • packages/slate/test/jsx.d.ts

Family Closure Matrix

Cluster idDeleted countStatusCurrent proof ownerResolution
utils.string1mirrored nowtext-units-contract.tscurrent string-unit behavior is already proved on the live text-units.ts seam that drives editor movement
utils.deep-equal10explicit skipnoneold isDeepEqual helper is gone from the live public surface and does not belong in the current claim
root.index.js1explicit skipnonethe old fixture-harness entrypoint is replaced by direct contract files plus package-local Mocha globs
root.jsx.d.ts1explicit skipnonethe old JSX fixture typing shim belonged to the deleted fixture harness, not the current direct-contract test lane

Totals:

  • mirrored now: 1
  • explicit skip: 12
  • reconciled total: 13

Why The Skips Are Honest

  • utils/deep-equal/** targeted a helper that is no longer exported or used on the current slate-v2 public surface
  • the live text-unit contract already carries the string-distance behavior that still matters to movement logic
  • the current package test lane no longer loads fixture directories through a root index.js harness
  • the current direct contract files do not need the old TypeScript JSX shim

Evidence