@datarailsshared/dr_renderer 1.2.388 → 1.2.390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -5711,4 +5711,467 @@ describe('highcharts_renderer', () => {
|
|
5711
5711
|
expect(sortObj).toEqual(expectedObj);
|
5712
5712
|
});
|
5713
5713
|
});
|
5714
|
+
|
5715
|
+
describe('Function defaultFormatterToTooltip', () => {
|
5716
|
+
|
5717
|
+
const othersName = 'TEST_DR_OTHERS';
|
5718
|
+
let format;
|
5719
|
+
let pivotDataMock;
|
5720
|
+
let optsMock;
|
5721
|
+
let displayTooltipContext;
|
5722
|
+
let isForDrilldownPie;
|
5723
|
+
|
5724
|
+
beforeEach(() => {
|
5725
|
+
pivotDataMock = {
|
5726
|
+
getAggregator: (rows, cols) => {
|
5727
|
+
let aggregator = highchartsRenderer.rhPivotAggregatorSum([''], format, true, {}, {});
|
5728
|
+
const agg = aggregator({}, '', '');
|
5729
|
+
|
5730
|
+
if (lodash.isEqual(cols, ['col 1']) && lodash.isEqual(rows, ['row 1'])) {
|
5731
|
+
agg.sum = 12345;
|
5732
|
+
} else if (lodash.isEqual(cols, ['col 1']) && lodash.isEqual(rows, [])) {
|
5733
|
+
agg.sum = 123450;
|
5734
|
+
} else if (lodash.isEqual(cols, []) && lodash.isEqual(rows, ['row 1'])) {
|
5735
|
+
agg.sum = 1234500;
|
5736
|
+
} else if (lodash.isEqual(cols, ['col 1', 'col 2']) && lodash.isEqual(rows, ['row 1'])) {
|
5737
|
+
agg.sum = 54321;
|
5738
|
+
} else if (lodash.isEqual(cols, ['col 1']) && lodash.isEqual(rows, ['row 1', 'row 2'])) {
|
5739
|
+
agg.sum = 11111;
|
5740
|
+
} else if (lodash.isEqual(cols, [highchartsRenderer.DR_OTHERS_KEY]) && lodash.isEqual(rows, ['row 1'])) {
|
5741
|
+
agg.sum = 99999;
|
5742
|
+
} else if (lodash.isEqual(cols, ['Total 1']) && lodash.isEqual(rows, [])) {
|
5743
|
+
agg.sum = 88888;
|
5744
|
+
} else {
|
5745
|
+
return null;
|
5746
|
+
}
|
5747
|
+
|
5748
|
+
return agg;
|
5749
|
+
},
|
5750
|
+
getColKeys: () => [['col 1'], ['col 2'], ['col 3'], [highchartsRenderer.DR_OTHERS_KEY]],
|
5751
|
+
getRowKeys: () => [['row 1'], ['row 2'], ['row 3']],
|
5752
|
+
rowAttrs: ['row 1'],
|
5753
|
+
};
|
5754
|
+
|
5755
|
+
optsMock = {
|
5756
|
+
total_value_options: {
|
5757
|
+
filter_options: {
|
5758
|
+
filteredOutFieldName: othersName,
|
5759
|
+
}
|
5760
|
+
},
|
5761
|
+
chartOptions: {
|
5762
|
+
tooltips: {
|
5763
|
+
show_value: true,
|
5764
|
+
show_data_series: true,
|
5765
|
+
show_x_axis: true,
|
5766
|
+
},
|
5767
|
+
},
|
5768
|
+
};
|
5769
|
+
|
5770
|
+
displayTooltipContext = {
|
5771
|
+
series: {
|
5772
|
+
options: {
|
5773
|
+
className: 'some custom value',
|
5774
|
+
},
|
5775
|
+
name: 'row 1',
|
5776
|
+
color: 'green',
|
5777
|
+
},
|
5778
|
+
y: 12345,
|
5779
|
+
key: ['col 1']
|
5780
|
+
};
|
5781
|
+
|
5782
|
+
isForDrilldownPie = false;
|
5783
|
+
format = '"$"#,###.##';
|
5784
|
+
});
|
5785
|
+
|
5786
|
+
describe('should return proper tooltip html (BASIC, try different formats)', () => {
|
5787
|
+
|
5788
|
+
const formatCases = [
|
5789
|
+
{
|
5790
|
+
format: '$"#,###.##',
|
5791
|
+
expected: '$12,345.0'
|
5792
|
+
},
|
5793
|
+
{
|
5794
|
+
format: '%"#,###.##',
|
5795
|
+
expected: '%1,234,500.0'
|
5796
|
+
},
|
5797
|
+
{
|
5798
|
+
format: '#,###',
|
5799
|
+
expected: '12,345'
|
5800
|
+
},
|
5801
|
+
{
|
5802
|
+
format: '#,###[kilo]K',
|
5803
|
+
expected: '12K'
|
5804
|
+
},
|
5805
|
+
];
|
5806
|
+
|
5807
|
+
formatCases.forEach(formatCase => {
|
5808
|
+
it(`for format ${ formatCase.format } expecting value ${ formatCase.expected }`, () => {
|
5809
|
+
format = formatCase.format;
|
5810
|
+
const tooltipFunction =
|
5811
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5812
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5813
|
+
|
5814
|
+
expect(tooltipHtml).toEqual(`<span style="font-weight: bold;">
|
5815
|
+
col 1
|
5816
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E${ formatCase.expected }</span>`
|
5817
|
+
);
|
5818
|
+
});
|
5819
|
+
});
|
5820
|
+
});
|
5821
|
+
|
5822
|
+
it('should return proper tooltip html (no column name)', () => {
|
5823
|
+
optsMock.chartOptions.tooltips.show_x_axis = false;
|
5824
|
+
|
5825
|
+
const tooltipFunction =
|
5826
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5827
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5828
|
+
|
5829
|
+
expect(tooltipHtml).toEqual(
|
5830
|
+
'<br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$12,345.0</span>'
|
5831
|
+
);
|
5832
|
+
});
|
5833
|
+
|
5834
|
+
it('should return proper tooltip html (+ show_out_of_x_axis)', () => {
|
5835
|
+
optsMock.chartOptions.tooltips.show_out_of_x_axis = true;
|
5836
|
+
|
5837
|
+
const tooltipFunction =
|
5838
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5839
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5840
|
+
|
5841
|
+
expect(tooltipHtml).toEqual(
|
5842
|
+
`<span style="font-weight: bold;">
|
5843
|
+
col 1
|
5844
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$12,345.0</span>`
|
5845
|
+
+ '<br/>% Out of Axis (Category): 10%'
|
5846
|
+
);
|
5847
|
+
});
|
5848
|
+
|
5849
|
+
it('should return proper tooltip html (+ show_out_of_data_series)', () => {
|
5850
|
+
optsMock.chartOptions.tooltips.show_out_of_data_series = true;
|
5851
|
+
|
5852
|
+
const tooltipFunction =
|
5853
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5854
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5855
|
+
|
5856
|
+
expect(tooltipHtml).toEqual(
|
5857
|
+
`<span style="font-weight: bold;">
|
5858
|
+
col 1
|
5859
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$12,345.0</span>`
|
5860
|
+
+ '<br/>% Out of Legend (Series): 1%'
|
5861
|
+
);
|
5862
|
+
});
|
5863
|
+
|
5864
|
+
it('should return proper tooltip html (+ show_out_of_x_axis, show_out_of_data_series)', () => {
|
5865
|
+
optsMock.chartOptions.tooltips.show_out_of_x_axis = true;
|
5866
|
+
optsMock.chartOptions.tooltips.show_out_of_data_series = true;
|
5867
|
+
|
5868
|
+
const tooltipFunction =
|
5869
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5870
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5871
|
+
|
5872
|
+
expect(tooltipHtml).toEqual(
|
5873
|
+
`<span style="font-weight: bold;">
|
5874
|
+
col 1
|
5875
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$12,345.0</span>`
|
5876
|
+
+ '<br/>% Out of Axis (Category): 10%, % Out of Legend (Series): 1%'
|
5877
|
+
);
|
5878
|
+
});
|
5879
|
+
|
5880
|
+
it('should return proper tooltip html (+ show_out_of_x_axis, show_out_of_data_series) SPECIFY LABELS', () => {
|
5881
|
+
optsMock.chartOptions.tooltips.show_out_of_x_axis = true;
|
5882
|
+
optsMock.chartOptions.tooltips.show_out_of_data_series = true;
|
5883
|
+
optsMock.chartLabels = {
|
5884
|
+
axis: 'X-AXIS',
|
5885
|
+
legend: 'DATA-SERIES',
|
5886
|
+
}
|
5887
|
+
|
5888
|
+
const tooltipFunction =
|
5889
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5890
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5891
|
+
|
5892
|
+
expect(tooltipHtml).toEqual(
|
5893
|
+
`<span style="font-weight: bold;">
|
5894
|
+
col 1
|
5895
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$12,345.0</span>`
|
5896
|
+
+ '<br/>% Out of X-AXIS: 10%, % Out of DATA-SERIES: 1%'
|
5897
|
+
);
|
5898
|
+
});
|
5899
|
+
|
5900
|
+
it('should return proper tooltip html (compound col key)', () => {
|
5901
|
+
|
5902
|
+
displayTooltipContext.key = ['col 1', 'col 2'];
|
5903
|
+
|
5904
|
+
const tooltipFunction =
|
5905
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5906
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5907
|
+
|
5908
|
+
expect(tooltipHtml).toEqual(
|
5909
|
+
`<span style="font-weight: bold;">
|
5910
|
+
col 1,col 2
|
5911
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$54,321.0</span>`
|
5912
|
+
);
|
5913
|
+
});
|
5914
|
+
|
5915
|
+
it('should return proper tooltip html (compound row key)', () => {
|
5916
|
+
displayTooltipContext.key = ['col 1'];
|
5917
|
+
displayTooltipContext.series.name = `row 1${ highchartsRenderer.delimer }row 2`;
|
5918
|
+
|
5919
|
+
const tooltipFunction =
|
5920
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5921
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5922
|
+
|
5923
|
+
expect(tooltipHtml).toEqual(
|
5924
|
+
`<span style="font-weight: bold;">
|
5925
|
+
col 1
|
5926
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1 , row 2</span>: <span>\u200E$11,111.0</span>`
|
5927
|
+
);
|
5928
|
+
});
|
5929
|
+
|
5930
|
+
it('should return proper tooltip html (with Others)', () => {
|
5931
|
+
displayTooltipContext.key = [othersName];
|
5932
|
+
|
5933
|
+
const tooltipFunction =
|
5934
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5935
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5936
|
+
|
5937
|
+
expect(tooltipHtml).toEqual(
|
5938
|
+
`<span style="font-weight: bold;">
|
5939
|
+
${ othersName }
|
5940
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200Erow 1</span>: <span>\u200E$99,999.0</span>`
|
5941
|
+
);
|
5942
|
+
});
|
5943
|
+
|
5944
|
+
it('should return proper tooltip html (for Breakdown widget) - BREAKDOWN column', () => {
|
5945
|
+
displayTooltipContext = {
|
5946
|
+
point : {
|
5947
|
+
options: {
|
5948
|
+
isTotal: false,
|
5949
|
+
},
|
5950
|
+
colKeys: ['col 1'],
|
5951
|
+
},
|
5952
|
+
series: {
|
5953
|
+
options: {
|
5954
|
+
className: 'waterfallBreakdown',
|
5955
|
+
},
|
5956
|
+
name: 'Field name',
|
5957
|
+
color: 'green',
|
5958
|
+
},
|
5959
|
+
y: 12345,
|
5960
|
+
key: ['row 1']
|
5961
|
+
}
|
5962
|
+
|
5963
|
+
const tooltipFunction =
|
5964
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5965
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5966
|
+
|
5967
|
+
expect(tooltipHtml).toEqual(
|
5968
|
+
`<span style="font-weight: bold;">
|
5969
|
+
row 1 :
|
5970
|
+
</span><span>\u200E$12,345.0</span>`
|
5971
|
+
);
|
5972
|
+
});
|
5973
|
+
|
5974
|
+
it('should return proper tooltip html (for Breakdown widget) - TOTAL column', () => {
|
5975
|
+
displayTooltipContext = {
|
5976
|
+
point : {
|
5977
|
+
options: {
|
5978
|
+
isTotal: true,
|
5979
|
+
},
|
5980
|
+
colKeys: ['col 1'],
|
5981
|
+
},
|
5982
|
+
series: {
|
5983
|
+
options: {
|
5984
|
+
className: 'waterfallBreakdown',
|
5985
|
+
},
|
5986
|
+
name: 'Field name',
|
5987
|
+
color: 'green',
|
5988
|
+
},
|
5989
|
+
y: 88888,
|
5990
|
+
key: ['col 1']
|
5991
|
+
}
|
5992
|
+
|
5993
|
+
const tooltipFunction =
|
5994
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
5995
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
5996
|
+
|
5997
|
+
expect(tooltipHtml).toEqual(
|
5998
|
+
`<span style="font-weight: bold;">
|
5999
|
+
col 1 :
|
6000
|
+
</span><span>\u200E$88,888.0</span>`
|
6001
|
+
);
|
6002
|
+
});
|
6003
|
+
|
6004
|
+
it('should return proper tooltip html (for Walkthrough widget) - TOTAL column', () => {
|
6005
|
+
displayTooltipContext = {
|
6006
|
+
point : {
|
6007
|
+
options: {
|
6008
|
+
colsForTotal: 'Total 1',
|
6009
|
+
isTotal: true,
|
6010
|
+
name: 'Total 1',
|
6011
|
+
},
|
6012
|
+
},
|
6013
|
+
series: {
|
6014
|
+
options: {
|
6015
|
+
className: 'waterfallWalkthrough',
|
6016
|
+
},
|
6017
|
+
name: 'Series 1',
|
6018
|
+
color: 'green',
|
6019
|
+
},
|
6020
|
+
y: 100,
|
6021
|
+
key: 'Total 1'
|
6022
|
+
}
|
6023
|
+
pivotDataMock.rowAttrs = [];
|
6024
|
+
|
6025
|
+
const tooltipFunction =
|
6026
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
6027
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6028
|
+
|
6029
|
+
expect(tooltipHtml).toEqual(
|
6030
|
+
`<span style="font-weight: bold;">
|
6031
|
+
Total 1
|
6032
|
+
</span>: <span>\u200E$100.0</span>`
|
6033
|
+
);
|
6034
|
+
});
|
6035
|
+
|
6036
|
+
it('should return proper tooltip html (for drill down pie)', () => {
|
6037
|
+
isForDrilldownPie = true;
|
6038
|
+
displayTooltipContext = {
|
6039
|
+
series: {
|
6040
|
+
options: {
|
6041
|
+
className: 'any name',
|
6042
|
+
},
|
6043
|
+
name: 'Series 1',
|
6044
|
+
color: 'green',
|
6045
|
+
},
|
6046
|
+
y: 1000,
|
6047
|
+
key: 'col 1'
|
6048
|
+
}
|
6049
|
+
|
6050
|
+
const tooltipFunction =
|
6051
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
6052
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6053
|
+
|
6054
|
+
expect(tooltipHtml).toEqual('<span>\u200E$123,450.0</span>');
|
6055
|
+
});
|
6056
|
+
|
6057
|
+
it('should return proper tooltip html (for trendline point)', () => {
|
6058
|
+
displayTooltipContext = {
|
6059
|
+
series: {
|
6060
|
+
options: {
|
6061
|
+
className: 'trendSeries',
|
6062
|
+
},
|
6063
|
+
name: 'Trend Line',
|
6064
|
+
color: 'green',
|
6065
|
+
},
|
6066
|
+
y: 55555,
|
6067
|
+
key: 'col 1'
|
6068
|
+
}
|
6069
|
+
|
6070
|
+
const tooltipFunction =
|
6071
|
+
highchartsRenderer.defaultFormatterToTooltip(pivotDataMock, optsMock, isForDrilldownPie);
|
6072
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6073
|
+
|
6074
|
+
expect(tooltipHtml).toEqual(`<span style="font-weight: bold;">
|
6075
|
+
col 1
|
6076
|
+
</span><br/><span style="font-weight: bold; color: green;">\u200ETrend Line</span>: <span>\u200E$55,555.0</span>`
|
6077
|
+
);
|
6078
|
+
});
|
6079
|
+
});
|
6080
|
+
|
6081
|
+
describe('Function pieFormatterToTooltip', () => {
|
6082
|
+
|
6083
|
+
const displayTooltipContext = {
|
6084
|
+
series: {
|
6085
|
+
name: 'row 1',
|
6086
|
+
},
|
6087
|
+
point: {
|
6088
|
+
percentage: 10.987654,
|
6089
|
+
},
|
6090
|
+
};
|
6091
|
+
const pivotDataMock = { mockField: 'mock pivot data' };
|
6092
|
+
|
6093
|
+
it('created function should return result of default fn + <br> without percentage', () => {
|
6094
|
+
|
6095
|
+
spyOn(highchartsRenderer, 'defaultFormatterToTooltip').and.returnValue(
|
6096
|
+
() => 'default tooltip contents',
|
6097
|
+
)
|
6098
|
+
|
6099
|
+
const optsMock = {
|
6100
|
+
chartOptions: {
|
6101
|
+
tooltips: {
|
6102
|
+
show_percentage: false,
|
6103
|
+
},
|
6104
|
+
},
|
6105
|
+
};
|
6106
|
+
|
6107
|
+
const tooltipFunction = highchartsRenderer.pieFormatterToTooltip(pivotDataMock, optsMock);
|
6108
|
+
expect(highchartsRenderer.defaultFormatterToTooltip).toHaveBeenCalledWith(pivotDataMock, optsMock);
|
6109
|
+
|
6110
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6111
|
+
expect(tooltipHtml).toEqual('default tooltip contents<br>');
|
6112
|
+
});
|
6113
|
+
|
6114
|
+
it('created function should return result of default fn with percentage', () => {
|
6115
|
+
|
6116
|
+
spyOn(highchartsRenderer, 'defaultFormatterToTooltip').and.returnValue(
|
6117
|
+
() => 'default tooltip contents',
|
6118
|
+
)
|
6119
|
+
|
6120
|
+
const optsMock = {
|
6121
|
+
chartOptions: {
|
6122
|
+
tooltips: {
|
6123
|
+
show_percentage: true,
|
6124
|
+
},
|
6125
|
+
},
|
6126
|
+
};
|
6127
|
+
|
6128
|
+
const tooltipFunction = highchartsRenderer.pieFormatterToTooltip(pivotDataMock, optsMock);
|
6129
|
+
expect(highchartsRenderer.defaultFormatterToTooltip).toHaveBeenCalledWith(pivotDataMock, optsMock);
|
6130
|
+
|
6131
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6132
|
+
expect(tooltipHtml).toEqual('default tooltip contents<br>10.99%');
|
6133
|
+
});
|
6134
|
+
|
6135
|
+
it('created function should return series without percentage (when default function falsy)', () => {
|
6136
|
+
|
6137
|
+
spyOn(highchartsRenderer, 'defaultFormatterToTooltip').and.returnValue(
|
6138
|
+
() => null,
|
6139
|
+
)
|
6140
|
+
|
6141
|
+
const optsMock = {
|
6142
|
+
chartOptions: {
|
6143
|
+
tooltips: {
|
6144
|
+
show_percentage: false,
|
6145
|
+
},
|
6146
|
+
},
|
6147
|
+
};
|
6148
|
+
|
6149
|
+
const tooltipFunction = highchartsRenderer.pieFormatterToTooltip(pivotDataMock, optsMock);
|
6150
|
+
expect(highchartsRenderer.defaultFormatterToTooltip).toHaveBeenCalledWith(pivotDataMock, optsMock);
|
6151
|
+
|
6152
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6153
|
+
expect(tooltipHtml).toEqual('row 1');
|
6154
|
+
});
|
6155
|
+
|
6156
|
+
it('created function should return series with percentage (when default function falsy)', () => {
|
6157
|
+
|
6158
|
+
spyOn(highchartsRenderer, 'defaultFormatterToTooltip').and.returnValue(
|
6159
|
+
() => null,
|
6160
|
+
)
|
6161
|
+
|
6162
|
+
const optsMock = {
|
6163
|
+
chartOptions: {
|
6164
|
+
tooltips: {
|
6165
|
+
show_percentage: true,
|
6166
|
+
},
|
6167
|
+
},
|
6168
|
+
};
|
6169
|
+
|
6170
|
+
const tooltipFunction = highchartsRenderer.pieFormatterToTooltip(pivotDataMock, optsMock);
|
6171
|
+
expect(highchartsRenderer.defaultFormatterToTooltip).toHaveBeenCalledWith(pivotDataMock, optsMock);
|
6172
|
+
|
6173
|
+
const tooltipHtml = tooltipFunction.call(displayTooltipContext);
|
6174
|
+
expect(tooltipHtml).toEqual('row 1: 10.99%');
|
6175
|
+
});
|
6176
|
+
});
|
5714
6177
|
});
|