Skip to content

test(conversion): fix red main from #831/#832 interaction#850

Merged
jedrazb merged 1 commit into
mainfrom
fix/issue-830-test-reconcile
Jun 16, 2026
Merged

test(conversion): fix red main from #831/#832 interaction#850
jedrazb merged 1 commit into
mainfrom
fix/issue-830-test-reconcile

Conversation

@jedrazb

@jedrazb jedrazb commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The leading-page-break fix (#831) and run-boundary preservation (#832) both landed on main independently. Combined, the empty leading-break run is kept distinct, so the lastRenderedPageBreak marker now serializes onto its own w:r rather than the text run, breaking the over-specified assertion in issue-830-leading-page-break-roundtrip.test.ts:55.

The serialized output is valid OOXML (a standalone marker run is how Word commonly emits it). Relax the assertion to check the marker and the text independently. Test-only change.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

After the leading-page-break (#831) and run-boundary-preservation (#832)
fixes both landed on main, the empty leading-break run is kept distinct, so
the lastRenderedPageBreak marker serializes onto its own w:r instead of the
text run. The output is valid OOXML; relax the over-specified assertion to
check the marker and the text independently. Fixes red main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docx-editor Building Building Preview, Comment Jun 16, 2026 7:13pm

Request Review

@eigenpal-release-pal

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅

Posted by the CLA bot.

@jedrazb jedrazb merged commit c0521b3 into main Jun 16, 2026
6 of 7 checks passed
@jedrazb jedrazb deleted the fix/issue-830-test-reconcile branch June 16, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant