using Workerd = import "/workerd/workerd.capnp"; const unitTests :Workerd.Config = ( services = [ ( name = "http-nodejs-test", worker = ( modules = [ (name = "worker", esModule = embed "http-nodejs-test.js") ], compatibilityFlags = ["nodejs_compat", "nodejs_compat_v2", "experimental", "enable_nodejs_http_modules"], bindings = [ (name = "SIDECAR_HOSTNAME", fromEnvironment = "SIDECAR_HOSTNAME"), (name = "PONG_SERVER_PORT", fromEnvironment = "PONG_SERVER_PORT"), (name = "ASD_SERVER_PORT", fromEnvironment = "ASD_SERVER_PORT"), (name = "TIMEOUT_SERVER_PORT", fromEnvironment = "TIMEOUT_SERVER_PORT"), (name = "HELLO_WORLD_SERVER_PORT", fromEnvironment = "HELLO_WORLD_SERVER_PORT"), (name = "HEADER_VALIDATION_SERVER_PORT", fromEnvironment = "HEADER_VALIDATION_SERVER_PORT"), ], ) ), ( name = "internet", network = ( allow = ["private", "public"] ) ), ], );