Files
Tyler Slaton 2c531ffab9 test(scripts): capture fallback-array missing-decl warning; note ExportsEntry mirror
CR-loop final polish (non-behavioral):
- tsdown-exports.test.ts: the "maps over fallback-array targets" case left an
  unspied console.warn (b.mjs has no adjacent declaration) leaking to stderr.
  Wrap it in withWarnSpy and assert the warning fired — the declaration-less
  element is reported, not silently dropped.
- tsdown-exports.d.mts / validate-package-exports-types.ts: cross-reference the
  two hand-mirrored ExportsEntry definitions so they cannot drift silently.

No source behavior change; 36 tests pass, validate:exports exits 0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 20:40:27 -07:00
..