Skip to content

render-template: test-health batch e3855-render-template-01 #3927

Closed

Description

@schlessera

Context

Batch e3855-render-template-01 of the test-health push in #3855: all 6 packages/render-template/tests/*.test.ts files, audited in two clusters through all eight lenses (run th-20261110210854-539775).

Fixed findings:

  • packages/render-template/tests/static.test.ts:19 (empty-by-construction): "unknown and browser-only entries stay code without executing" only ever supplied a browser-only renderer, so removing the null-renderer guard in prepareStaticDocument went unseen. It now also covers a rendererFor that returns null.
  • packages/render-template/tests/kinds.test.ts:65 (opaque-failure): a some(...).toBe(true) check printed only true or false. The first body element's classes are now compared with the opener's own class list.

Scope

Test code under packages/render-template/tests/ only.

Out of scope

Product code, timeouts and deadlines, shard and selection rules.

Acceptance criteria

  • Every changed assertion fails against a mutated guard and passes once the guard is restored, recorded as a killed mutation receipt.
  • bun scripts/test-health.ts batch verify --base origin/epic/3855-test-health --head HEAD gives ok: true, with no test removed.

Verification

bun run test packages/render-template/tests, the batch gate above, and hosted proof on the pull request.

Contract impact

Tests only. No shipped runtime or contract change.

Activity

  1. added this to the 0.45.0 milestone on Nov 10, 2026
  2. added
    type: test
    area: render
    priority: p1
    on Nov 10, 2026
  3. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    Delivered by #3928, which merged into epic/3855-test-health as 04f15c84b (the push in #3855). It landed in the combined merge without proof of its own; the gate, typecheck and check:pr passed on the combined branch. The epic's two exhaustive runs on dc2439551, 42996974186 and 42997012467, then passed. GitHub does not apply Closes for a pull request into a non-default branch, so I'm closing this by hand. The change reaches main with the epic's single landing pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: renderpriority: p1type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions