Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/callstack/agent-device
/ jsonResponse
Function
jsonResponse
src/cli/__tests__/auth-session.test.ts:295–300 ·
view source on GitHub ↗
(body: unknown)
Source
from the content-addressed store, hash-verified
293
});
294
295
function
jsonResponse(body: unknown): Response {
296
return
new
Response(JSON.stringify(body), {
297
status: 200,
298
headers: {
'content-type'
:
'application/json'
},
299
});
300
}
Callers
1
auth-session.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected