mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
test(number-input): add unit tests
This commit is contained in:
parent
76824734b0
commit
34e50618f6
4 changed files with 303 additions and 51 deletions
7
tests/NumberInput/NumberInputCustom.test.svelte
Normal file
7
tests/NumberInput/NumberInputCustom.test.svelte
Normal file
|
@ -0,0 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { NumberInput } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<NumberInput label="Custom label" value={0}>
|
||||
<span slot="label">Custom Label Text</span>
|
||||
</NumberInput>
|
Loading…
Add table
Add a link
Reference in a new issue