MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / mapsFile

Function mapsFile

test/unit/resource-mapper-test.mjs:83–88  ·  view source on GitHub ↗
(it, mapper, label, options, expected)

Source from the content-addressed store, hash-verified

81}
82
83function mapsFile (it, mapper, label, options, expected) {
84 it(`maps ${label}`, async () => {
85 const actual = await mapper.mapFileToUrl(options)
86 expect(actual).to.deep.equal(expected)
87 })
88}
89
90const itMapsUrl = asserter(mapsUrl)
91const itMapsFile = asserter(mapsFile)

Callers

nothing calls this directly

Calls 1

mapFileToUrlMethod · 0.80

Tested by

no test coverage detected