diff --git a/packages/svelte/tests/runtime-runes/samples/each-updates-8/_config.js b/packages/svelte/tests/runtime-runes/samples/each-updates-8/_config.js index e01fcf6f97..e675dcaf67 100644 --- a/packages/svelte/tests/runtime-runes/samples/each-updates-8/_config.js +++ b/packages/svelte/tests/runtime-runes/samples/each-updates-8/_config.js @@ -16,11 +16,17 @@ export default test({ btn1.click(); }); - assert.htmlEqual(target.innerHTML, `

first

message 1

message 2

`); + assert.htmlEqual( + target.innerHTML, + `

first

message 1

message 2

` + ); await Promise.resolve(); - assert.htmlEqual(target.innerHTML, `

first

message 1

message 2

`); + assert.htmlEqual( + target.innerHTML, + `

first

message 1

message 2

` + ); flushSync(() => { btn1.click(); @@ -28,6 +34,9 @@ export default test({ await Promise.resolve(); - assert.htmlEqual(target.innerHTML, `

first

message 1

message 2

message 3

`); + assert.htmlEqual( + target.innerHTML, + `

first

message 1

message 2

message 3

` + ); } });