Skip to content

Commit 800af90

Browse files
spburtsevmetonym
authored andcommitted
fix(tests): use renamed "labelChildren" slot
1 parent 6327849 commit 800af90

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

tests/Checkbox/Checkbox.slot.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</script>
44

55
<Checkbox data-testid="checkbox-slot">
6-
<span slot="labelText" data-testid="custom-label">Custom label content</span>
6+
<span slot="labelChildren" data-testid="custom-label">Custom label content</span>
77
</Checkbox>

tests/NumberInput/NumberInputCustom.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</script>
44

55
<NumberInput labelText="Custom label" value={0}>
6-
<span slot="labelText">Custom Label Text</span>
6+
<span slot="labelChildren">Custom Label Text</span>
77
</NumberInput>

tests/RadioButton/RadioButtonCustom.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</script>
44

55
<RadioButton labelText="Custom label" value="custom" name="test-group">
6-
<span slot="labelText">Custom Label Text</span>
6+
<span slot="labelChildren">Custom Label Text</span>
77
</RadioButton>

tests/Slider/Slider.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
console.log("input", e.detail);
4747
}}
4848
>
49-
<span slot="labelText">Slot Label</span>
49+
<span slot="labelChildren">Slot Label</span>
5050
</Slider>
5151
{:else}
5252
<Slider

tests/TextArea/TextAreaCustom.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</script>
44

55
<TextArea labelText="Custom label">
6-
<span slot="labelText">Custom Label Text</span>
6+
<span slot="labelChildren">Custom Label Text</span>
77
</TextArea>

tests/TextInput/TextInputCustom.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</script>
44

55
<TextInput labelText="Custom label">
6-
<span slot="labelText">Custom Label Text</span>
6+
<span slot="labelChildren">Custom Label Text</span>
77
</TextInput>

tests/TimePicker/TimePickerCustom.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</script>
88

99
<TimePicker labelText="Custom label">
10-
<span slot="labelText">Custom Label Text</span>
10+
<span slot="labelChildren">Custom Label Text</span>
1111
<TimePickerSelect value="pm">
1212
<SelectItem value="am" text="AM" />
1313
<SelectItem value="pm" text="PM" />

tests/Toggle/Toggle.test.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<Toggle class="custom-class" labelText="Custom class toggle" />
6464

6565
<Toggle labelText="Slots toggle">
66-
<span slot="labelText">Label slot</span>
66+
<span slot="labelChildren">Label slot</span>
6767
<span slot="labelA">Off slot</span>
6868
<span slot="labelB">On slot</span>
6969
</Toggle>

0 commit comments

Comments
 (0)