[[DOM]] [[dom]] [[fetch]] [[?FeTcH]] [[FETCh]] [[fetCH]] -
foo [[TestRef1]] [[TestRef2]] [[TestRef3]]
+foo [[TestRef1]] [[TestRef2]] [[TestRef3]] [[TestRef4]]
[[EVERCOOKIE]]
[[bad-ref]]
`; + const ops = makeStandardOps({ localBiblio }, body); + ops.htmlAttrs = { lang: "fr" }; + const doc = await makeRSDoc(ops); + const badRef = doc.querySelector("#references-informatives dd"); + expect(badRef).toBeTruthy(); + expect(badRef.textContent.trim()).toBe("Référence non trouvée."); + }); + it("uses cached results from IDB", async () => { const body = `[[dom]] [[DOM4]] [[DOM]] [[dom4]]
`; const ops = makeStandardOps(null, body);