From fab34ab529a22b9c06bb6f79d58d9c239f91c442 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 15 Apr 2024 15:09:49 -0400 Subject: [PATCH] adjust test to reflect new semantics --- .../samples/non-local-mutation-inherited-owner/main.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/svelte/tests/runtime-runes/samples/non-local-mutation-inherited-owner/main.svelte b/packages/svelte/tests/runtime-runes/samples/non-local-mutation-inherited-owner/main.svelte index 5f1c7461f6..df62c7bafa 100644 --- a/packages/svelte/tests/runtime-runes/samples/non-local-mutation-inherited-owner/main.svelte +++ b/packages/svelte/tests/runtime-runes/samples/non-local-mutation-inherited-owner/main.svelte @@ -2,8 +2,7 @@ import Counter from './Counter.svelte'; import { global } from './state.svelte.js'; - let object = $state({ count: 0 }); - global.object = object; + global.object = { count: 0 };