mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
test(button-set): add unit tests
This commit is contained in:
parent
5bff894ed7
commit
b9de4591be
3 changed files with 36 additions and 14 deletions
10
tests/ButtonSet/ButtonSet.test.svelte
Normal file
10
tests/ButtonSet/ButtonSet.test.svelte
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue