Skip to content

Commit 1d0a9e5

Browse files
author
Faiq Raza
committed
Merge branch 'tests' into 'master'
Tests See merge request cloudnative/oci-grafana-plugin!17
2 parents 785b1cc + 0285ca4 commit 1d0a9e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7063
-4666
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@ module.exports = {
22
"extends": "standard",
33
"rules": {
44
"import/no-webpack-loader-syntax": 0,
5+
},
6+
"env": {
7+
"jest": true
58
}
69
};

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ _testmain.go
3232

3333
node_modules
3434
dist/oci-plugin_*
35+
coverage/
36+
dist/

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ build:
1313
script:
1414
- npm install
1515
- npm run lint
16+
- npm run test
1617
- npm run buildjs
1718

1819
go:

babel.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
'@babel/preset-env',
5+
{
6+
targets: {
7+
node: 'current',
8+
},
9+
},
10+
],
11+
],
12+
}

dist/README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

dist/config_ctrl.js

Lines changed: 0 additions & 70 deletions
This file was deleted.

dist/config_ctrl.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/constants.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

dist/constants.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/css/query-editor.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)