testing/cross_backend/testing_server_node.ts

Node runtime adapter for spawnable cross-process test server binaries.

Binds @hono/node-server's serve() and @hono/node-ws's two-phase createNodeWebSocket(app) / injectWebSocket(server). The shared testing/cross_backend/testing_server_core.ts owns the rest. A test binary builds this adapter and hands it to start_testing_server alongside its build_app seam.

@hono/node-server + @hono/node-ws are optional peer deps (same posture as ws) — only test binaries import them; production bundles never reach this module (the assert_dev_env guard throws on prod load).

view source

Declarations
#

create_node_testing_adapter
#

Depends on
#