From 7900fd4a7991faa19b9c17938e2f4bf1205c48c4 Mon Sep 17 00:00:00 2001
From: Johannes Schill <johannes.schill@polyester.se>
Date: Mon, 29 Jan 2018 15:54:59 +0100
Subject: [PATCH] test: Update Tooltip test to check for className support

---
 public/app/core/components/Tooltip/Tooltip.jest.tsx             | 2 +-
 .../core/components/Tooltip/__snapshots__/Tooltip.jest.tsx.snap | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/app/core/components/Tooltip/Tooltip.jest.tsx b/public/app/core/components/Tooltip/Tooltip.jest.tsx
index bc0512ecef7..d2c96bb23d2 100644
--- a/public/app/core/components/Tooltip/Tooltip.jest.tsx
+++ b/public/app/core/components/Tooltip/Tooltip.jest.tsx
@@ -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>
       )
diff --git a/public/app/core/components/Tooltip/__snapshots__/Tooltip.jest.tsx.snap b/public/app/core/components/Tooltip/__snapshots__/Tooltip.jest.tsx.snap
index 3d3d7ea074b..0ec9bdd86fe 100644
--- a/public/app/core/components/Tooltip/__snapshots__/Tooltip.jest.tsx.snap
+++ b/public/app/core/components/Tooltip/__snapshots__/Tooltip.jest.tsx.snap
@@ -2,7 +2,7 @@
 
 exports[`Tooltip renders correctly 1`] = `
 <div
-  className="popper__manager"
+  className="popper__manager test-class"
 >
   <div
     className="popper__target"