testing/cross_backend/testing_server_node.ts view source
(): TestingServerAdapter import {create_node_testing_adapter} from '@fuzdev/fuz_app/testing/cross_backend/testing_server_node.js'; Build the Node .
returns
TestingServerAdapter 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).
testing/cross_backend/testing_server_node.ts view source
(): TestingServerAdapter import {create_node_testing_adapter} from '@fuzdev/fuz_app/testing/cross_backend/testing_server_node.js'; Build the Node .
TestingServerAdapter