Skip to content

Commit 3be62f0

Browse files
committed
Move to <svelte:element> in Render.svelte
I don't know why this causes more whitespace in these snapshot tests but I'm not going to worry about it right now.
1 parent 9383ee3 commit 3be62f0

File tree

3 files changed

+15
-426
lines changed

3 files changed

+15
-426
lines changed

src/lib/components/description/description.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ it("should be possible to use a DescriptionProvider and a single Description, an
5858
</p>
5959
6060
61+
6162
6263
<span>
6364
Contents
@@ -87,6 +88,7 @@ it("should be possible to use a DescriptionProvider and multiple Description com
8788
</p>
8889
8990
91+
9092
9193
<span>
9294
Contents
@@ -99,6 +101,7 @@ it("should be possible to use a DescriptionProvider and multiple Description com
99101
</p>
100102
101103
104+
102105
</div>
103106
`);
104107
});
@@ -124,6 +127,7 @@ it("should be possible to use a DescriptionProvider with slot props", async () =
124127
</p>
125128
126129
130+
127131
128132
<span>
129133
Contents

src/lib/components/label/label.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ it("should be possible to use a LabelProvider and a single Label, and have them
6464
</label>
6565
6666
67+
6768
6869
<span>
6970
Contents
@@ -93,6 +94,7 @@ it("should be possible to use a LabelProvider and multiple Label components, and
9394
</label>
9495
9596
97+
9698
9799
<span>
98100
Contents
@@ -105,6 +107,7 @@ it("should be possible to use a LabelProvider and multiple Label components, and
105107
</label>
106108
107109
110+
108111
</div>
109112
`);
110113
});
@@ -129,6 +132,7 @@ it("should be possible to render a Label with an `as` prop", async () => {
129132
</p>
130133
131134
135+
132136
133137
<span>
134138
Contents
@@ -159,6 +163,7 @@ it("should be possible to change the props of a Label", async () => {
159163
</label>
160164
161165
166+
162167
163168
<span>
164169
Contents
@@ -181,6 +186,7 @@ it("should be possible to change the props of a Label", async () => {
181186
</label>
182187
183188
189+
184190
185191
<span>
186192
Contents
@@ -209,6 +215,7 @@ it("should be possible to use a LabelProvider with slot props", async () => {
209215
</label>
210216
211217
218+
212219
213220
<span>
214221
Contents

0 commit comments

Comments
 (0)