3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 15:15:44 +01:00

Design 4: fast-check generators on a fixed seed, in four sub-items

This commit is contained in:
2026-09-14 15:02:15 +02:00
parent 3e95f3048d
commit 74123d6249
2 changed files with 28 additions and 19 deletions
+1 -2
View File
@@ -223,8 +223,7 @@ functions, and a branch floor that only ever moves upward. It sits below 100 bec
compared against `undefined` — have a half no valid document reaches.
The corpus, all checked in: hand-built fixtures per node and combination; real sanitized ADF from
live Atlassian APIs; property-generated ADF trees; the CommonMark spec suite against
`markdownToAdf` and `markdownToHtml`.
live Atlassian APIs; the CommonMark spec suite against `markdownToAdf` and `markdownToHtml`.
`spec/flavour.md` is read as a source too, so the node tables cannot drift from the prose they
copy: each `- ` bullet in `## Block nodes`, `## Inline nodes` and `## Marks` declares the nodes