1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 09:08:07 +02:00

Check for the correct link-id prefix in "must not add links when unnecessary" integration-test (PR 19110 follow-up)

Currently this test-case would never fail, even if the actual implementation was broken, since it checks for a link-id prefix that we're not using.
This commit is contained in:
Jonas Jenwald 2025-02-08 15:38:22 +01:00
parent 72339dc561
commit 6eec20afc0

View file

@ -82,7 +82,7 @@ describe("autolinker", function () {
linkIds.forEach(id =>
expect(id)
.withContext(`In ${browserName}`)
.not.toContain("added_link_")
.not.toContain("inferred_link_")
);
})
);