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
c3664e1d
Commit
c3664e1d
authored
Jan 17, 2018
by
Johannes Schill
Committed by
Daniel Lee
Jan 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashfolders: Update jest tests with backendSrv #10275
parent
5a9fe9af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
public/app/containers/ManageDashboards/FolderSettings.jest.tsx
+1
-1
public/app/containers/ServerStats/ServerStats.jest.tsx
+1
-1
public/app/core/components/UserPicker/UserPicker.jest.tsx
+1
-2
No files found.
public/app/containers/ManageDashboards/FolderSettings.jest.tsx
View file @
c3664e1d
...
...
@@ -29,7 +29,7 @@ describe('FolderSettings', () => {
}
);
wrapper
=
shallow
(<
FolderSettings
{
...
store
}
/>);
wrapper
=
shallow
(<
FolderSettings
backendSrv=
{
backendSrv
}
{
...
store
}
/>);
return
wrapper
.
dive
()
.
instance
()
...
...
public/app/containers/ServerStats/ServerStats.jest.tsx
View file @
c3664e1d
...
...
@@ -20,7 +20,7 @@ describe('ServerStats', () => {
}
);
const
page
=
renderer
.
create
(<
ServerStats
{
...
store
}
/>);
const
page
=
renderer
.
create
(<
ServerStats
backendSrv=
{
backendSrv
}
{
...
store
}
/>);
setTimeout
(()
=>
{
expect
(
page
.
toJSON
()).
toMatchSnapshot
();
...
...
public/app/core/components/UserPicker/UserPicker.jest.tsx
View file @
c3664e1d
...
...
@@ -8,8 +8,7 @@ const model = {
return
new
Promise
((
resolve
,
reject
)
=>
{});
},
},
refreshList
:
()
=>
{},
teamId
:
'1'
,
handlePicked
:
()
=>
{},
};
describe
(
'UserPicker'
,
()
=>
{
...
...
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