Skip to content

Commit d61b3e8

Browse files
committed
oops
1 parent e648e42 commit d61b3e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/tests/runtime-runes/samples/effect-order-6/A.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
// this runs after the effect in B, because child effects run first
77
$effect(() => {
8-
console.log(boolean, closed);
8+
console.log({ boolean, closed });
99
});
1010
</script>
1111

packages/svelte/tests/runtime-runes/samples/effect-order-6/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ export default test({
88
flushSync(() => open.click());
99
flushSync(() => close.click());
1010

11-
assert.deepEqual(logs, [true]);
11+
assert.deepEqual(logs, [{ boolean: true, closed: false }]);
1212
}
1313
});

0 commit comments

Comments
 (0)