mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add migration tests
This commit is contained in:
parent
ccf66154bb
commit
8299c95459
@ -0,0 +1,31 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`Gauge Module migrations should migrate from 6.0 settings to 6.1 1`] = `
|
||||||
|
Object {
|
||||||
|
"display": Object {
|
||||||
|
"decimals": 4,
|
||||||
|
"mappings": Array [],
|
||||||
|
"prefix": "a",
|
||||||
|
"stat": "avg",
|
||||||
|
"suffix": "z",
|
||||||
|
"thresholds": Array [
|
||||||
|
Object {
|
||||||
|
"color": "green",
|
||||||
|
"index": 0,
|
||||||
|
"value": -Infinity,
|
||||||
|
},
|
||||||
|
Object {
|
||||||
|
"color": "red",
|
||||||
|
"index": 1,
|
||||||
|
"value": 80,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"unit": "ms",
|
||||||
|
},
|
||||||
|
"maxValue": 60,
|
||||||
|
"minValue": 50,
|
||||||
|
"showThresholdLabels": false,
|
||||||
|
"showThresholdMarkers": true,
|
||||||
|
"stat": "avg",
|
||||||
|
}
|
||||||
|
`;
|
Loading…
Reference in New Issue
Block a user