test(content-switcher): add unit tests

This commit is contained in:
Eric Liu 2025-02-26 19:45:15 -08:00
commit 67df81eac9
7 changed files with 219 additions and 15 deletions

View file

@ -0,0 +1,13 @@
<script lang="ts">
import { ContentSwitcher, Switch } from "carbon-components-svelte";
</script>
<ContentSwitcher size="sm">
<Switch text="Small 1" />
<Switch text="Small 2" />
</ContentSwitcher>
<ContentSwitcher size="xl">
<Switch text="XL 1" />
<Switch text="XL 2" />
</ContentSwitcher>