@@ -71,6 +71,8 @@ Working plugins that pass all tests:
7171- rehype-autolink-headings
7272- rehype-tailwind-classes
7373
74+ ### Rehype Tailwind Classes
75+
7476Conditional elements (have checks):
7577
7678- a (checks for .btn and .heading-anchor)
@@ -81,6 +83,45 @@ Conditional elements (have checks):
8183- iframe
8284- various special cases
8385
86+ ### Duplicate test code across units, units_with_default_astro, and e2e
87+
88+ - rehypeAccessibleEmojis.spec.tsx
89+
90+ Summary: What Should Change
91+
92+ Remove:
93+
94+ Layer 2: "should use custom footnote labels from Astro config" test (doesn't test emojis)
95+
96+ Add to Layer 2 (Astro):
97+
98+ Test emoji shortcodes (:heart : ) in addition to Unicode
99+ "Text without emojis" edge case
100+ DOM-based validation with axe (optional, but valuable)
101+ Empty aria-label verification
102+
103+ Add to Layer 4 (E2E):
104+
105+ Unicode emoji tests in addition to shortcodes
106+ "Text without emojis" edge case
107+ Expand emoji.md fixture to include more edge cases
108+
109+ Keep Layer 1 (Units) as-is:
110+
111+ It's focused and tests the isolated plugin correctly
112+ Uses Unicode emojis which is appropriate
113+ Has good edge case coverage
114+
115+ Fixture Enhancement Needed
116+
117+ The emoji.md fixture should include:
118+
119+ Unicode emojis (not just shortcodes)
120+ Text without emojis
121+ Emoji in headings
122+ Emoji in various list types
123+ More diverse emoji types
124+
84125## Markdown Config Updates
85126
86127Details/Summary elements - These HTML elements aren't being processed by remarkGfm (they need to be raw HTML)
0 commit comments