test: Update Tooltip test to check for className support

This commit is contained in:
Johannes Schill 2018-01-29 15:54:59 +01:00
parent e6c161d897
commit 7900fd4a79
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ describe('Tooltip', () => {
it('renders correctly', () => {
const tree = renderer
.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>
</Tooltip>
)

View File

@ -2,7 +2,7 @@
exports[`Tooltip renders correctly 1`] = `
<div
className="popper__manager"
className="popper__manager test-class"
>
<div
className="popper__target"