From 632f49600a60368b4b7c56645d4a6089aa3748f3 Mon Sep 17 00:00:00 2001 From: gtmnayan Date: Fri, 21 Jul 2023 12:01:44 +0545 Subject: [PATCH] chore: fix dynamic component update test --- .../dynamic-component-update-existing-instance/_config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/_config.js index 7b5f4d48af2e..088df054a5b8 100644 --- a/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/_config.js +++ b/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/_config.js @@ -1,19 +1,19 @@ export default { get props() { - return { x: 1 }; + return { x: 0 }; }, html: ` -

Foo 1

+

Bar 0

`, test({ assert, component, target }) { - component.x = 2; + component.x = 1; assert.htmlEqual( target.innerHTML, ` -

Foo 2

+

Foo 1

` ); }