From 58af0508a01ce10fe8a64218645462d2ba12d498 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Wed, 19 Apr 2023 15:57:45 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- test/hydration/samples/claim-comment/_config.js | 2 +- test/hydration/samples/if-block-update/_config.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/hydration/samples/claim-comment/_config.js b/test/hydration/samples/claim-comment/_config.js index 305fac9bd9..047f1db855 100644 --- a/test/hydration/samples/claim-comment/_config.js +++ b/test/hydration/samples/claim-comment/_config.js @@ -5,6 +5,6 @@ export default { snapshot(target) { return { div: target.querySelectorAll('div')[1] - } + }; } }; diff --git a/test/hydration/samples/if-block-update/_config.js b/test/hydration/samples/if-block-update/_config.js index 0f8ed286bb..aa9ba7798c 100644 --- a/test/hydration/samples/if-block-update/_config.js +++ b/test/hydration/samples/if-block-update/_config.js @@ -13,7 +13,6 @@ export default { }, test(assert, target, _, component) { - const p = target.querySelector('p'); component.foo = false; component.bar = true;