pull/16806/head
Rich Harris 4 days ago
parent f6bf22bdb5
commit 0b7168c23b

@ -224,6 +224,7 @@ export async function async_body(fn) {
} finally {
if (next_hydrate_node) {
set_hydrate_node(next_hydrate_node);
hydrate_next();
}
}

@ -0,0 +1,13 @@
import { tick } from 'svelte';
import { test } from '../../test';
export default test({
skip_mode: ['server'],
ssrHtml: '<p>hello</p>',
async test({ assert, target }) {
await tick();
assert.htmlEqual(target.innerHTML, '<p>hello</p>');
}
});

@ -0,0 +1,9 @@
<script>
import Child from './Child.svelte';
</script>
<Child />
{#if true}
<p>hello</p>
{/if}
Loading…
Cancel
Save