mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
test(checkbox): add unit tests
This commit is contained in:
parent
1ba777ade8
commit
ca4a12164d
6 changed files with 197 additions and 15 deletions
7
tests/Checkbox/Checkbox.slot.test.svelte
Normal file
7
tests/Checkbox/Checkbox.slot.test.svelte
Normal file
|
@ -0,0 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { Checkbox } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Checkbox data-testid="checkbox-slot">
|
||||
<span slot="labelText" data-testid="custom-label">Custom label content</span>
|
||||
</Checkbox>
|
Loading…
Add table
Add a link
Reference in a new issue