add migration tests

This commit is contained in:
ryan 2019-03-14 09:51:40 -07:00
parent ccf66154bb
commit 8299c95459

View File

@ -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",
}
`;