fix(plugin-chart-table): Invalid d3Formatter on String column (#23515)

This commit is contained in:
JUST.in DO IT
2023-03-28 15:25:35 -07:00
committed by GitHub
parent 80d1e4ffa3
commit 5d910aa2e2
3 changed files with 17 additions and 1 deletions

View File

@@ -97,6 +97,7 @@ describe('plugin-chart-table', () => {
// should successful rerender with new props
const cells = tree.find('td');
expect(tree.find('th').eq(1).text()).toEqual('Sum of Num');
expect(cells.eq(0).text()).toEqual('Michael');
expect(cells.eq(2).text()).toEqual('12.346%');
expect(cells.eq(4).text()).toEqual('2.47k');
});