aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures/wiktionary-404.json
Commit message (Collapse)AuthorAgeFilesLines
* chore: capture Wiktionary REST fixtures for replayCraig Jennings21 hours1-0/+1
Save raw response bodies from the Wiktionary REST endpoint under tests/fixtures/. The fetch layer can replay them with a cl-letf on url-retrieve-synchronously instead of hitting the network in tests. The five fixtures cover the cases that matter for the parser. anaphora is the simple single-sense English entry. SBIR is an acronym with multiple senses. API is highly polysemous and multi-language (en, fr, id, la, pt). hapax-legomenon is the multi-word case, so it exercises URL-encoding for the space. The 404 fixture captures the JSON error body Wiktionary returns when a term isn't there.