Lines Matching refs:headings
12 const meta = { maxHeadingDepth: 2, headings: [] };
15 expect(headingManager.headings).toEqual([]);
16 expect(headingManager.metadata.headings).toEqual([]);
22 const meta = { headings: [{ title: TITLE, depth: 1, type: 'text', _processed: true }] };
31 const meta = { headings: [{ title: TITLE, depth: 1, type: 'text' }] };
44 headings: [{ title: META_TITLE, depth: META_LEVEL, type: 'text' }],
63 headingManager.metadata.headings?.forEach(it => (it._processed = false));
87 expect(headingManager.headings).toContain(ok);
88 expect(headingManager.headings).not.toContain(tooLow);
89 expect(headingManager.headings).not.toContain(tooHigh);
97 expect(headingManager.headings).not.toContain(result);