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