test: update test to not use createRawSnippet, use test component instead

This commit is contained in:
2026-02-08 20:38:06 +05:00
parent 0f905bbc20
commit e838916d91
6 changed files with 40 additions and 25 deletions
+8
View File
@@ -0,0 +1,8 @@
<!-- LayoutTest.svelte -->
<script>
import Layout from "$routes/+layout.svelte";
</script>
<Layout>
<span data-testid="test-child">Hello</span>
</Layout>