Commit 8b24a37
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
| 537 | + | |
537 | 538 | | |
538 | 539 | | |
539 | 540 | | |
| |||
0 commit comments