mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
test(tooltip): add unit tests
This commit is contained in:
parent
e100429374
commit
b8bff110a5
10 changed files with 263 additions and 54 deletions
8
tests/Tooltip/TooltipCustomIcon.test.svelte
Normal file
8
tests/Tooltip/TooltipCustomIcon.test.svelte
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { Tooltip } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Tooltip iconDescription="Information">
|
||||
<div slot="icon" data-testid="custom-icon">🔍</div>
|
||||
Custom icon tooltip
|
||||
</Tooltip>
|
Loading…
Add table
Add a link
Reference in a new issue