MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / dfnsDoc

Function dfnsDoc

javascript/selenium-webdriver/project_bidi_schema_test.mjs:714–717  ·  view source on GitHub ↗
(url, entries)

Source from the content-addressed store, hash-verified

712describe('specHref (spec-definition links from the webref dfns index)', () => {
713 // Shape mirrors a real webref ed/dfns/<spec>.json: { spec, dfns: [{ type, linkingText, href }] }.
714 const dfnsDoc = (url, entries) => ({
715 spec: { url },
716 dfns: entries.map(([type, name, href]) => ({ type, linkingText: [name], href })),
717 })
718
719 it('maps cddl-type entries by name, ignoring keys/values/other dfn types', () => {
720 const hrefs = buildSpecHrefs([

Callers 1

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected