From dcc7b925fe1f1f3c2cf820f5be0afa7757b9945c Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Fri, 5 Apr 2019 14:20:01 +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 + } + } + ] } } ]"