test(radio-button): add unit tests

This commit is contained in:
Eric Liu 2025-03-20 13:03:15 -07:00
commit 5758c555d6
4 changed files with 167 additions and 35 deletions

View file

@ -0,0 +1,7 @@
<script lang="ts">
import { RadioButton } from "carbon-components-svelte";
</script>
<RadioButton labelText="Custom label" value="custom" name="test-group">
<span slot="labelText">Custom Label Text</span>
</RadioButton>