mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
test(date-picker): add unit tests
This commit is contained in:
parent
f09c2e2c31
commit
e358736e38
4 changed files with 168 additions and 81 deletions
8
tests/DatePicker/DatePickerRange.test.svelte
Normal file
8
tests/DatePicker/DatePickerRange.test.svelte
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { DatePicker, DatePickerInput } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<DatePicker datePickerType="range" on:change>
|
||||
<DatePickerInput labelText="Start date" placeholder="mm/dd/yyyy" />
|
||||
<DatePickerInput labelText="End date" placeholder="mm/dd/yyyy" />
|
||||
</DatePicker>
|
Loading…
Add table
Add a link
Reference in a new issue