test(button-set): add unit tests

This commit is contained in:
Eric Liu 2025-04-12 13:17:32 -07:00
commit b9de4591be
3 changed files with 36 additions and 14 deletions

View file

@ -0,0 +1,10 @@
<script lang="ts">
import { ButtonSet, Button } from "carbon-components-svelte";
export let stacked = false;
</script>
<ButtonSet data-testid="button-set" {stacked}>
<Button kind="secondary">Cancel</Button>
<Button>Submit</Button>
</ButtonSet>