(reports: LH.FlowResult[])
| 74 | } |
| 75 | |
| 76 | function getTable(reports: LH.FlowResult[]) { |
| 77 | const table = reports |
| 78 | .map((report) => { |
| 79 | const inpAudit = getInp(report); |
| 80 | return { |
| 81 | name: report.name, |
| 82 | INP: inpAudit.displayValue, |
| 83 | inpNumber: inpAudit.numericValue, |
| 84 | }; |
| 85 | }) |
| 86 | .sort(sortBy('inpNumber')) |
| 87 | .map((item) => omit(item, ['inpNumber'])); |
| 88 | |
| 89 | return table; |
| 90 | } |
| 91 | |
| 92 | // Ignore the SSR-only examples |
| 93 | const IGNORE_FRAMEWORKS = ['react-ssr-node', 'react-ssr-bun', 'react-ssr-deno']; |
no test coverage detected