mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
test(breadcrumb): add unit tests
This commit is contained in:
parent
4fb6a0be9f
commit
7153d43dc0
6 changed files with 153 additions and 35 deletions
8
tests/Breadcrumb/Breadcrumb.noTrailingSlash.test.svelte
Normal file
8
tests/Breadcrumb/Breadcrumb.noTrailingSlash.test.svelte
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { Breadcrumb, BreadcrumbItem } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Breadcrumb noTrailingSlash>
|
||||
<BreadcrumbItem href="/">Home</BreadcrumbItem>
|
||||
<BreadcrumbItem href="/profile" isCurrentPage>Profile</BreadcrumbItem>
|
||||
</Breadcrumb>
|
Loading…
Add table
Add a link
Reference in a new issue