MCPcopy
hub / github.com/tinyhttp/tinyhttp / req.test.ts

File req.test.ts

__tests__/modules/req.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { makeFetch } from 'supertest-fetch'
2import {
3 checkIfXMLHttpRequest,
4 getAccepts,

Callers

nothing calls this directly

Calls 8

runServerFunction · 0.90
getRequestHeaderFunction · 0.90
checkIfXMLHttpRequestFunction · 0.90
getAcceptsFunction · 0.90
getAcceptsEncodingsFunction · 0.90
getFreshOrStaleFunction · 0.90
getRangeFromHeaderFunction · 0.90
reqIsFunction · 0.90

Tested by

no test coverage detected