Commit 7900fd4a by Johannes Schill

test: Update Tooltip test to check for className support

parent e6c161d8
...@@ -6,7 +6,7 @@ describe('Tooltip', () => { ...@@ -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 @@ ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment