Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/oakserver/oak
/ createMockNetAddr
Function
createMockNetAddr
http_server_native.test.ts:11–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
import
{ isNode } from
"./utils/type_guards.ts"
;
10
11
function
createMockNetAddr(): Deno.NetAddr {
12
return
{ transport:
"tcp"
, hostname:
"remote"
, port: 4567 };
13
}
14
15
Deno.test({
16
name:
"NativeRequest"
,
Callers
1
fn
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected