Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/llrt
/ fetch.headers.test.ts
File
fetch.headers.test.ts
tests/unit/fetch.headers.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
describe(
"Headers class"
, () => {
2
it(
"should construct a new Headers object with the provided headers"
, () => {
3
const
headers = {
"content-type"
:
"application/json"
};
4
const
h =
new
Headers(headers);
Callers
nothing calls this directly
Calls
6
get
Method · 0.45
set
Method · 0.45
delete
Method · 0.45
append
Method · 0.45
entries
Method · 0.45
next
Method · 0.45
Tested by
no test coverage detected