mirror of https://github.com/grafana/grafana
parent
c7f35f2dcf
commit
9134620c1a
@ -1,42 +1,66 @@ |
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP |
||||
|
||||
exports[`processTableData basic processing should generate a header and fix widths 1`] = ` |
||||
Object { |
||||
"columnMap": Object {}, |
||||
"columns": Array [ |
||||
Object { |
||||
"text": "Column 1", |
||||
}, |
||||
Object { |
||||
"text": "Column 2", |
||||
}, |
||||
Object { |
||||
"text": "Column 3", |
||||
}, |
||||
], |
||||
"rows": Array [ |
||||
Array [ |
||||
1, |
||||
null, |
||||
null, |
||||
], |
||||
Array [ |
||||
2, |
||||
3, |
||||
4, |
||||
], |
||||
Array [ |
||||
5, |
||||
6, |
||||
null, |
||||
], |
||||
], |
||||
"type": "table", |
||||
} |
||||
`; |
||||
|
||||
exports[`processTableData basic processing should read header and two rows 1`] = ` |
||||
Object { |
||||
"errors": Array [], |
||||
"meta": Object { |
||||
"aborted": false, |
||||
"cursor": 17, |
||||
"delimiter": ",", |
||||
"linebreak": " |
||||
", |
||||
"truncated": false, |
||||
}, |
||||
"table": Object { |
||||
"columnMap": Object {}, |
||||
"columns": Array [ |
||||
Object { |
||||
"text": "a", |
||||
}, |
||||
Object { |
||||
"text": "b", |
||||
}, |
||||
Object { |
||||
"text": "c", |
||||
}, |
||||
"columnMap": Object {}, |
||||
"columns": Array [ |
||||
Object { |
||||
"text": "a", |
||||
}, |
||||
Object { |
||||
"text": "b", |
||||
}, |
||||
Object { |
||||
"text": "c", |
||||
}, |
||||
], |
||||
"rows": Array [ |
||||
Array [ |
||||
1, |
||||
2, |
||||
3, |
||||
], |
||||
"rows": Array [ |
||||
Array [ |
||||
1, |
||||
2, |
||||
3, |
||||
], |
||||
Array [ |
||||
4, |
||||
5, |
||||
6, |
||||
], |
||||
Array [ |
||||
4, |
||||
5, |
||||
6, |
||||
], |
||||
"type": "table", |
||||
}, |
||||
], |
||||
"type": "table", |
||||
} |
||||
`; |
||||
|
Loading…
Reference in new issue