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,9 @@
<script lang="ts">
import { ContentSwitcher, Switch } from "carbon-components-svelte";
</script>
<ContentSwitcher>
<Switch text="Enabled" />
<Switch text="Disabled" disabled />
<Switch text="Also Enabled" />
</ContentSwitcher>