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
3c6a06a3
Commit
3c6a06a3
authored
Oct 01, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(cloudwatch): moved specs into plugins dir
parent
057b533a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
19 deletions
+28
-19
public/app/plugins/datasource/cloudwatch/specs/datasource_specs.ts
+10
-11
tasks/options/watch.js
+18
-8
No files found.
public/
test/specs/cloudwatch-datasource-specs.j
s
→
public/
app/plugins/datasource/cloudwatch/specs/datasource_specs.t
s
View file @
3c6a06a3
define
([
///<amd-dependency path="app/plugins/datasource/cloudwatch/datasource" />
'./helpers'
,
///<amd-dependency path="test/specs/helpers" name="helpers" />
'app/plugins/datasource/cloudwatch/datasource'
,
'aws-sdk'
,
import
{
describe
,
beforeEach
,
it
,
sinon
,
expect
,
angularMocks
}
from
'test/lib/common'
;
],
function
(
helpers
)
{
'use strict'
;
declare
var
helpers
:
any
;
describe
(
'CloudWatchDatasource'
,
function
()
{
describe
(
'CloudWatchDatasource'
,
function
()
{
var
ctx
=
new
helpers
.
ServiceTestContext
();
var
ctx
=
new
helpers
.
ServiceTestContext
();
beforeEach
(
module
(
'grafana.services'
));
beforeEach
(
angularMocks
.
module
(
'grafana.services'
));
beforeEach
(
module
(
'grafana.controllers'
));
beforeEach
(
angularMocks
.
module
(
'grafana.controllers'
));
beforeEach
(
ctx
.
providePhase
([
'templateSrv'
]));
beforeEach
(
ctx
.
providePhase
([
'templateSrv'
]));
beforeEach
(
ctx
.
createService
(
'CloudWatchDatasource'
));
beforeEach
(
ctx
.
createService
(
'CloudWatchDatasource'
));
beforeEach
(
function
()
{
beforeEach
(
function
()
{
...
@@ -166,5 +166,4 @@ define([
...
@@ -166,5 +166,4 @@ define([
ctx
.
$rootScope
.
$apply
();
ctx
.
$rootScope
.
$apply
();
});
});
});
});
});
});
});
tasks/options/watch.js
View file @
3c6a06a3
module
.
exports
=
function
(
config
)
{
module
.
exports
=
function
(
config
)
{
'use strict'
;
return
{
return
{
css
:
{
css
:
{
files
:
[
'<%= srcDir %>/less/**/*.less'
],
files
:
[
'<%= srcDir %>/less/**/*.less'
],
...
@@ -10,19 +12,27 @@ module.exports = function(config) {
...
@@ -10,19 +12,27 @@ module.exports = function(config) {
copy_to_gen
:
{
copy_to_gen
:
{
files
:
[
'<%= srcDir %>/**/*'
,
'!<%= srcDir %>/**/*.less'
],
files
:
[
'<%= srcDir %>/**/*'
,
'!<%= srcDir %>/**/*.less'
],
tasks
:
[
'copy:public_to_gen'
],
tasks
:
[
'jshint'
,
'jscs'
,
'tslint'
,
'clean:gen'
,
'copy:public_to_gen'
,
'typescript:build'
,
'karma:test'
],
options
:
{
options
:
{
spawn
:
false
spawn
:
false
}
}
},
},
typescript
:
{
//
typescript: {
files
:
[
'<%= srcDir %>/app/**/*.ts'
,
'<%= srcDir %>/test/**/
*.ts'
],
// files: ['<%= srcDir %>/app#<{(||)}>#*.ts', '<%= srcDir %>/test#<{(||)}>#
*.ts'],
tasks
:
[
'tslint'
,
'typescript:build'
],
//
tasks: ['tslint', 'typescript:build'],
options
:
{
//
options: {
spawn
:
false
//
spawn: false
}
//
}
}
//
}
};
};
};
};
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