Open Czechh opened 7 months ago
@bokuweb - I've been having some issue with replacing the snapshots with insta
. I'm a newbie with this cargo.
cargo insta accept
error: Failed parsing the provided YAML text
Is there yaml in your vscode config or something else code editor specific i might be missing?
All of the cargo-insta/ insta commands fail. Make test does work to generate the new snapshots to compare.
@Czechh Thanks! I suspect it might be a bug with Insta. I'll handle the updates on my end, so just ignore Insta for now.
@Czechh
Sorry. Could you please try followin command and retry insta?
find docx-core/tests/snapshots/* | xargs sed -i '' 's/json"---/json"\n---/'
What does this change?
Uses
<w:lastRenderedPageBreak/>
XML Element to keep track of the last rendered page. Then appends that page rendered index to paragraphs and tables.References