Skip to content
File

Blob: src/workerd/api/node/tests/http-agent-nodejs-test.wd-test

647 bytes
1using Workerd = import "/workerd/workerd.capnp";
2 
3const unitTests :Workerd.Config = (
4 services = [
5 ( name = "http-agent-nodejs-test",
6 worker = (
7 modules = [
8 (name = "worker", esModule = embed "http-agent-nodejs-test.js")
9 ],
10 compatibilityFlags = ["nodejs_compat", "nodejs_compat_v2", "experimental", "enable_nodejs_http_modules"],
11 bindings = [
12 (name = "SIDECAR_HOSTNAME", fromEnvironment = "SIDECAR_HOSTNAME"),
13 (name = "PONG_SERVER_PORT", fromEnvironment = "PONG_SERVER_PORT"),
14 ],
15 )
16 ),
17 ( name = "internet", network = ( allow = ["private"] ) ),
18 ],
19);