Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e6c161d8
Commit
e6c161d8
authored
Jan 29, 2018
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Update Popover test to check for className support
parent
51b0f2b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/core/components/Tooltip/Popover.jest.tsx
+1
-1
public/app/core/components/Tooltip/__snapshots__/Popover.jest.tsx.snap
+1
-1
No files found.
public/app/core/components/Tooltip/Popover.jest.tsx
View file @
e6c161d8
...
@@ -6,7 +6,7 @@ describe('Popover', () => {
...
@@ -6,7 +6,7 @@ describe('Popover', () => {
it
(
'renders correctly'
,
()
=>
{
it
(
'renders correctly'
,
()
=>
{
const
tree
=
renderer
const
tree
=
renderer
.
create
(
.
create
(
<
Popover
placement=
"auto"
content=
"Popover text"
>
<
Popover
className=
"test-class"
placement=
"auto"
content=
"Popover text"
>
<
button
>
Button with Popover
</
button
>
<
button
>
Button with Popover
</
button
>
</
Popover
>
</
Popover
>
)
)
...
...
public/app/core/components/Tooltip/__snapshots__/Popover.jest.tsx.snap
View file @
e6c161d8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
exports[`Popover renders correctly 1`] = `
exports[`Popover renders correctly 1`] = `
<div
<div
className="popper__manager"
className="popper__manager
test-class
"
>
>
<div
<div
className="popper__target"
className="popper__target"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment