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
5079dcdc
Commit
5079dcdc
authored
Jan 05, 2018
by
Patrick O'Carroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated jest file and snapshot
parent
2248bf43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
48 deletions
+45
-48
public/app/containers/AlertRuleList/AlertRuleList.jest.tsx
+1
-1
public/app/containers/AlertRuleList/__snapshots__/AlertRuleList.jest.tsx.snap
+44
-47
No files found.
public/app/containers/AlertRuleList/AlertRuleList.jest.tsx
View file @
5079dcdc
...
...
@@ -45,7 +45,7 @@ describe('AlertRuleList', () => {
it
(
'should render 1 rule'
,
()
=>
{
page
.
update
();
let
ruleNode
=
page
.
find
(
'.
card-item-wrapper
'
);
let
ruleNode
=
page
.
find
(
'.
alert-rule-item
'
);
expect
(
toJson
(
ruleNode
)).
toMatchSnapshot
();
});
...
...
public/app/containers/AlertRuleList/__snapshots__/AlertRuleList.jest.tsx.snap
View file @
5079dcdc
...
...
@@ -2,71 +2,68 @@
exports[`AlertRuleList should render 1 rule 1`] = `
<li
className="
card-item-wrapper
"
className="
alert-rule-item
"
>
<div
className="
card-item card-item--alert
"
className="
alert-rule-item__body
"
>
<span
className="alert-rule-item__icon alert-state-ok"
>
<i
className="icon-gf icon-gf-online"
/>
</span>
<div
className="
card-item-
header"
className="
alert-rule-item__
header"
>
<div
className="
card-item-typ
e"
className="
alert-rule-item__nam
e"
>
<a
className="card-item-cog"
onClick={[Function]}
title="Pausing an alert rule prevents it from executing"
>
<i
className="fa fa-pause"
/>
</a>
<a
className="card-item-cog"
href="dashboard/db/mygool?panelId=3&fullscreen&edit&tab=alert"
title="Edit alert rule"
>
<i
className="icon-gf icon-gf-settings"
/>
Panel Title alert
</a>
</div>
</div>
<div
className="card-item-body"
>
<div
className="
card-item-details
"
className="
alert-rule-item__text
"
>
<
div
className="
card-item-name
"
<
span
className="
alert-state-ok
"
>
<a
href="dashboard/db/mygool?panelId=3&fullscreen&edit&tab=alert"
>
Panel Title alert
</a>
</div>
<div
className="card-item-sub-name"
OK
</span>
<span
className="alert-rule-item__time"
>
<span
className="alert-list-item-state alert-state-ok"
>
<i
className="icon-gf icon-gf-online"
/>
OK
</span>
<span>
for
5 minutes
</span>
</div>
for
5 minutes
</span>
</div>
</div>
</div>
<div
className="alert-rule-item__footer"
>
<a
className="btn btn-small btn-inverse alert-list__btn width-2"
onClick={[Function]}
title="Pausing an alert rule prevents it from executing"
>
<i
className="fa fa-pause"
/>
</a>
<a
className="btn btn-small btn-inverse alert-list__btn width-2"
href="dashboard/db/mygool?panelId=3&fullscreen&edit&tab=alert"
title="Edit alert rule"
>
<i
className="icon-gf icon-gf-settings"
/>
</a>
</div>
</li>
`;
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