(moduleName: string)
| 32 | } |
| 33 | |
| 34 | export function getRelatedSections(moduleName: string): AfmlSection[] { |
| 35 | const sections = getSectionsByModule(moduleName); |
| 36 | if (sections.length === 0) { |
| 37 | return []; |
| 38 | } |
| 39 | const chapters = new Set(sections.map((section) => section.chapter)); |
| 40 | return flatSections.filter((candidate) => chapters.has(candidate.chapter) && candidate.module !== moduleName); |
| 41 | } |
| 42 | |
| 43 | export function chapterCoverage() { |
| 44 | return afmlDocsState.chapters.map((chapter) => { |
nothing calls this directly
no test coverage detected