Skip to content

theme-consumption.test.js claims live-book theme coverage that does not exist #471

Description

@abalter

What. packages/enscribe/test/theme-consumption.test.js:11 claims the live-book applyDocumentTheme head-injection (#452 cell E's live half) is "covered by live-book-parity.test.js" — that file contains no theme assertion at all (case-insensitive grep = 0 matches, 213 lines). The #452 live-book theme read path is in fact untested; the comment is drift.

Fix shape. Either add the live-book case (mount a <config theme=tufte> book, assert the #enscribe-doc-theme head style) or correct the comment to say the coverage does not exist. Found during #445 Phase-0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions