mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
test(tooltip): add unit tests
This commit is contained in:
parent
ca4a12164d
commit
936a681194
10 changed files with 263 additions and 54 deletions
11
tests/Tooltip/TooltipHideIcon.test.svelte
Normal file
11
tests/Tooltip/TooltipHideIcon.test.svelte
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script lang="ts">
|
||||
import { Tooltip } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Tooltip
|
||||
hideIcon={true}
|
||||
triggerText="Tooltip trigger"
|
||||
iconDescription="Information"
|
||||
>
|
||||
This tooltip has its icon hidden
|
||||
</Tooltip>
|
Loading…
Add table
Add a link
Reference in a new issue