Skip to content

Commit 8b24a37

Browse files
edtadrosclaude
andcommitted
review(8.3): send_to_builder turn 1 — widget integration tests contract
8.3 contract for paperboy-widget/tests/widget.integration.test.js: 5 jsdom-driven tests against the BUILT dist/paperboy-widget.min.js bundle covering selector resolution, overlay/inline rendering, copy-to-clipboard, and localStorage view persistence (plus restore-on-reload as a 5th case). Per-file '// @vitest-environment jsdom' pragma keeps the existing turndown unit test in Node env. APPROVED devDep additions: jsdom (^25.0.0; spec explicitly names jsdom) + scripts.test changed to 'npm run build && vitest run' to match converter/cli. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a49eb70 commit 8b24a37

3 files changed

Lines changed: 294 additions & 7 deletions

File tree

paperboy-spec-tasks.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,8 @@
533533
"status": "in_progress",
534534
"evidence": "",
535535
"reviewer_guidance": "Read the referenced plan section, inspect listed files, run named validation commands, and verify observable behavior matches the spec.",
536-
"review_status": "in_review"
536+
"review_status": "waiting_for_builder",
537+
"notes": "Turn 1 contract for 8.3: new file paperboy-widget/tests/widget.integration.test.js with 5 jsdom-driven integration tests against the BUILT dist/paperboy-widget.min.js bundle (not src/). Tests cover selector resolution, overlay vs inline rendering, copy-to-clipboard (navigator.clipboard stubbed), localStorage view persistence + restore-on-reload. Per-file '// @vitest-environment jsdom' pragma so existing turndown unit test stays in Node env. APPROVED devDep additions: 'jsdom': '^25.0.0' (spec explicitly names jsdom). Also updates scripts.test from 'vitest run' to 'npm run build && vitest run' to match converter/cli patterns. No src/ or vitest.config.js or build.js edits."
537538
},
538539
{
539540
"id": "8.4",

0 commit comments

Comments
 (0)