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
dc249cf9
Commit
dc249cf9
authored
Aug 18, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed unit tests
parent
011c582e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
public/app/features/org/specs/user_group_details_ctrl_specs.ts
+2
-1
public/app/features/playlist/specs/playlist_edit_ctrl_specs.ts
+3
-1
public/test/test-main.js
+1
-0
tasks/options/watch.js
+1
-0
No files found.
public/app/features/org/specs/user_group_details_ctrl_specs.ts
View file @
dc249cf9
...
...
@@ -19,7 +19,8 @@ var backendSrv = {
ctx
.
ctrl
=
$controller
(
UserGroupDetailsCtrl
,
{
$scope
:
ctx
.
scope
,
backendSrv
:
backendSrv
,
$routeParams
:
{
id
:
1
}
$routeParams
:
{
id
:
1
},
navModelSrv
:
{
getNav
:
sinon
.
stub
()}
});
}));
...
...
public/app/features/playlist/specs/playlist_edit_ctrl_specs.ts
View file @
dc249cf9
...
...
@@ -6,7 +6,9 @@ describe('PlaylistEditCtrl', () => {
var
ctx
:
any
;
beforeEach
(()
=>
{
let
navModelSrv
=
{
getPlaylistsNav
:
page
=>
{},
getNav
:
()
=>
{
return
{
breadcrumbs
:
[],
node
:
{}};
},
};
ctx
=
new
PlaylistEditCtrl
(
null
,
null
,
null
,
null
,
{
current
:
{
params
:
{}
}
},
navModelSrv
);
...
...
public/test/test-main.js
View file @
dc249cf9
...
...
@@ -10,6 +10,7 @@
baseURL
:
'/base/'
,
defaultJSExtensions
:
true
,
paths
:
{
'gemini-scrollbar'
:
'vendor/npm/gemini-scrollbar/index.js'
,
'mousetrap'
:
'vendor/npm/mousetrap/mousetrap.js'
,
'eventemitter3'
:
'vendor/npm/eventemitter3/index.js'
,
'remarkable'
:
'vendor/npm/remarkable/dist/remarkable.js'
,
...
...
tasks/options/watch.js
View file @
dc249cf9
...
...
@@ -24,6 +24,7 @@ module.exports = function(config, grunt) {
gaze
([
config
.
srcDir
+
'/sass/**/*'
,
config
.
srcDir
+
'/app/**/*'
,
config
.
srcDir
+
'/test/**/*'
,
config
.
srcDir
+
'/vendor/npm/gemini-scrollbar/*.js'
,
],
function
(
err
,
watcher
)
{
...
...
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