(name)
| 852 | } |
| 853 | |
| 854 | const readability = async (name) => { |
| 855 | const measured = await measureReadability(page, READABILITY_EXCLUSIONS); |
| 856 | extras.readability.push({ |
| 857 | name, |
| 858 | candidates: measured.candidates, |
| 859 | overlaps: measured.overlaps, |
| 860 | clipped: measured.clipped, |
| 861 | }); |
| 862 | report.overlapViolations += measured.overlaps.length; |
| 863 | report.clippingViolations += measured.clipped.length; |
| 864 | report.cutWithoutHint += measured.clipped |
| 865 | .filter((entry) => entry.kind === 'cut-without-hint').length; |
| 866 | }; |
| 867 | |
| 868 | // ------------------------------------- 6a. AC1: aus heisst aus |
| 869 | await openApp(page, origin, `&agents=${deadPort}`); |
no test coverage detected