mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
83 lines
1.3 KiB
Plaintext
83 lines
1.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<Tooltip /> does not render to DOM if not visibile 1`] = `
|
|
<body>
|
|
<div>
|
|
<div
|
|
id="my-target"
|
|
>
|
|
Target Text
|
|
</div>
|
|
</div>
|
|
</body>
|
|
`;
|
|
|
|
exports[`<Tooltip /> does not render to DOM if not visible 1`] = `
|
|
<body>
|
|
<div>
|
|
<div
|
|
id="my-target"
|
|
>
|
|
Target Text
|
|
</div>
|
|
</div>
|
|
</body>
|
|
`;
|
|
|
|
exports[`<Tooltip /> renders to DOM when forced to by visibile prop 1`] = `
|
|
<body>
|
|
<div>
|
|
<div
|
|
class="Tooltip right visible"
|
|
role="tooltip"
|
|
style="left: 10px; top: 0px;"
|
|
>
|
|
I am a tooltip
|
|
</div>
|
|
<div
|
|
id="my-target"
|
|
>
|
|
Target Text
|
|
</div>
|
|
</div>
|
|
</body>
|
|
`;
|
|
|
|
exports[`<Tooltip /> renders to DOM when forced to by visible prop 1`] = `
|
|
<body>
|
|
<div>
|
|
<div
|
|
class="Tooltip right visible"
|
|
role="tooltip"
|
|
style="left: 10px; top: 0px;"
|
|
>
|
|
I am a tooltip
|
|
</div>
|
|
<div
|
|
id="my-target"
|
|
>
|
|
Target Text
|
|
</div>
|
|
</div>
|
|
</body>
|
|
`;
|
|
|
|
exports[`<Tooltip /> renders to DOM when hovering over target 1`] = `
|
|
<body>
|
|
<div>
|
|
<div
|
|
class="Tooltip right visible"
|
|
role="tooltip"
|
|
style="left: 10px; top: 0px;"
|
|
>
|
|
I am a tooltip
|
|
</div>
|
|
<div
|
|
id="my-target"
|
|
>
|
|
Target Text
|
|
</div>
|
|
</div>
|
|
</body>
|
|
`;
|