grafana/public/app/plugins/panel/table/__snapshots__/migrations.test.ts.snap
Torkel Ödegaard 3843c73162
Table: Fix migrations from old angular table for cell color modes (#65760)
* Table: Fix migrations from old angular table

* Update defaults
2023-04-06 09:19:26 +02:00

83 lines
1.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Table Migrations migrates transform out to core transforms 1`] = `
{
"fieldConfig": {
"defaults": {
"custom": {},
},
"overrides": [],
},
"transformations": [
{
"id": "seriesToColumns",
"options": {
"reducers": [],
},
},
],
}
`;
exports[`Table Migrations migrates transform out to core transforms 2`] = `
{
"fieldConfig": {
"defaults": {
"custom": {},
},
"overrides": [],
},
"transformations": [
{
"id": "seriesToRows",
"options": {
"reducers": [],
},
},
],
}
`;
exports[`Table Migrations migrates transform out to core transforms 3`] = `
{
"fieldConfig": {
"defaults": {
"custom": {},
},
"overrides": [],
},
"transformations": [
{
"id": "reduce",
"options": {
"includeTimeField": false,
"reducers": [
"mean",
"max",
"lastNotNull",
],
},
},
],
}
`;
exports[`Table Migrations migrates transform out to core transforms 4`] = `
{
"fieldConfig": {
"defaults": {
"custom": {},
},
"overrides": [],
},
"transformations": [
{
"id": "merge",
"options": {
"reducers": [],
},
},
],
}
`;