Files
Marcos Benítez 7838c0cfa2 feat(sprint-1-5): cierre Etapa 2 - formatPayback + fixes de marca
- Helper formatPayback con 12 casos cubiertos
- Aplicado en RoiKpiBar, drawRoiKpiCards, csv-export
- Auditoría WCAG: ratio 2.22:1, opción D (font-bold) para Etapa 3
- Adelanto: strings 'InQ ROI' y 'Powered by InQuality' en footers PDF
- Threshold ROI: '1.000%' sin decimal
- 455 tests verdes + 2 E2E

Refs: sprints/sprint-1-5/ETAPA_2_PROMPT.md
2026-05-16 20:33:18 -03:00

86 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`buildCostCompositionOption — estructura del objeto ECharts > snapshot: estructura completa del option del donut 1`] = `
{
"graphic": [
{
"left": "center",
"style": {
"fill": "#1e293b",
"fontFamily": "JetBrains Mono, monospace",
"fontSize": 13,
"fontWeight": "bold",
"text": "USD 1.200,00",
"textAlign": "center",
},
"top": "38%",
"type": "text",
},
],
"legend": {
"bottom": "2%",
"itemHeight": 12,
"itemWidth": 12,
"left": "center",
"textStyle": {
"color": "#475569",
"fontSize": 11,
},
},
"series": [
{
"avoidLabelOverlap": true,
"center": [
"50%",
"44%",
],
"data": [
{
"itemStyle": {
"color": "#F59845",
},
"name": "Costo directo",
"value": 1000,
},
{
"itemStyle": {
"color": "#94a3b8",
},
"name": "Costo indirecto (overhead)",
"value": 200,
},
],
"emphasis": {
"label": {
"fontSize": 13,
"fontWeight": "bold",
},
},
"itemStyle": {
"borderColor": "#fff",
"borderRadius": 4,
"borderWidth": 2,
},
"label": {
"fontSize": 11,
"formatter": [Function],
"show": true,
},
"labelLine": {
"length": 10,
"length2": 8,
},
"radius": [
"48%",
"68%",
],
"type": "pie",
},
],
"tooltip": {
"formatter": [Function],
"trigger": "item",
},
}
`;