From 17751e528dd475c031849df456f4a00368641ac9 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] fix character data test snapshot with latest puppeteer --- test/__snapshots__/integration.test.ts.snap | 24 +++++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/test/__snapshots__/integration.test.ts.snap b/test/__snapshots__/integration.test.ts.snap index 1f2b7b5c..56a09d17 100644 --- a/test/__snapshots__/integration.test.ts.snap +++ b/test/__snapshots__/integration.test.ts.snap @@ -463,20 +463,30 @@ exports[`character-data 1`] = ` \\"type\\": 3, \\"data\\": { \\"source\\": 0, - \\"texts\\": [ - { - \\"id\\": 7, - \\"value\\": \\"mutated\\" - } - ], + \\"texts\\": [], \\"attributes\\": [], \\"removes\\": [ { \\"parentId\\": 4, \\"id\\": 9 + }, + { + \\"parentId\\": 6, + \\"id\\": 7 } ], - \\"adds\\": [] + \\"adds\\": [ + { + \\"parentId\\": 6, + \\"previousId\\": null, + \\"nextId\\": null, + \\"node\\": { + \\"type\\": 3, + \\"textContent\\": \\"mutated\\", + \\"id\\": 17 + } + } + ] } } ]"