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

Function setupSupertestServer

test/utils/index.mjs:98–101  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

96
97export { setupSupertestServer }
98function setupSupertestServer (options) {
99 const ldpServer = createServer(options)
100 return supertest(ldpServer)
101}
102
103// Lightweight adapter to replace `request` with `node-fetch` in tests
104// Supports signatures:

Callers 6

errors-test.mjsFile · 0.90
header-test.mjsFile · 0.90
formats-test.mjsFile · 0.90
http-test.mjsFile · 0.90

Calls 1

createServerFunction · 0.70

Tested by

no test coverage detected