mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +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
7
tests/Tooltip/TooltipCustomContent.test.svelte
Normal file
7
tests/Tooltip/TooltipCustomContent.test.svelte
Normal file
|
@ -0,0 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { Tooltip } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Tooltip open={true} iconDescription="Information">
|
||||
<p data-testid="tooltip-content">Custom tooltip content</p>
|
||||
</Tooltip>
|
Loading…
Add table
Add a link
Reference in a new issue