mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
test(breadcrumb): add unit tests
This commit is contained in:
parent
4fb6a0be9f
commit
63fdb75664
6 changed files with 153 additions and 35 deletions
9
tests/Breadcrumb/Breadcrumb.test.svelte
Normal file
9
tests/Breadcrumb/Breadcrumb.test.svelte
Normal file
|
@ -0,0 +1,9 @@
|
|||
<script lang="ts">
|
||||
import { Breadcrumb, BreadcrumbItem } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Breadcrumb>
|
||||
<BreadcrumbItem href="/">Dashboard</BreadcrumbItem>
|
||||
<BreadcrumbItem href="/reports">Annual reports</BreadcrumbItem>
|
||||
<BreadcrumbItem href="/reports/2019" isCurrentPage>2019</BreadcrumbItem>
|
||||
</Breadcrumb>
|
Loading…
Add table
Add a link
Reference in a new issue