mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
test: Update Tooltip test to check for className support
This commit is contained in:
@@ -6,7 +6,7 @@ describe('Tooltip', () => {
|
|||||||
it('renders correctly', () => {
|
it('renders correctly', () => {
|
||||||
const tree = renderer
|
const tree = renderer
|
||||||
.create(
|
.create(
|
||||||
<Tooltip placement="auto" content="Tooltip text">
|
<Tooltip className="test-class" placement="auto" content="Tooltip text">
|
||||||
<a href="http://www.grafana.com">Link with tooltip</a>
|
<a href="http://www.grafana.com">Link with tooltip</a>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
exports[`Tooltip renders correctly 1`] = `
|
exports[`Tooltip renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
className="popper__manager"
|
className="popper__manager test-class"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="popper__target"
|
className="popper__target"
|
||||||
|
|||||||
Reference in New Issue
Block a user