improvement: Support numbers with commas in them (#2636)
This commit is contained in:
committed by
GitHub
parent
f14ae52e94
commit
eb9e67e36a
20
src/tests/__snapshots__/charts.test.tsx.snap
Normal file
20
src/tests/__snapshots__/charts.test.tsx.snap
Normal file
@ -0,0 +1,20 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`tryParseSpreadsheet works for numbers with comma in them 1`] = `
|
||||
Object {
|
||||
"spreadsheet": Object {
|
||||
"labels": Array [
|
||||
"Week 1",
|
||||
"Week 2",
|
||||
"Week 3",
|
||||
],
|
||||
"title": "Users",
|
||||
"values": Array [
|
||||
814,
|
||||
10301,
|
||||
4264,
|
||||
],
|
||||
},
|
||||
"type": "VALID_SPREADSHEET",
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user