File
Blob: src/workerd/api/node/tests/process-legacy-nodejs-test.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | const unitTests :Workerd.Config = ( |
| 4 | services = [ |
| 5 | ( name = "nodejs-process-legacy-test", |
| 6 | worker = ( |
| 7 | modules = [ |
| 8 | (name = "worker", esModule = embed "process-legacy-nodejs-test.js"), |
| 9 | ], |
| 10 | compatibilityFlags = [ |
| 11 | "nodejs_compat_populate_process_env", |
| 12 | "nodejs_compat", |
| 13 | "nodejs_compat_v2", |
| 14 | "experimental", |
| 15 | "disable_nodejs_process_v2" |
| 16 | ], |
| 17 | bindings = [ |
| 18 | (name = "FOO", text = "BAR"), |
| 19 | ], |
| 20 | ) |
| 21 | ), |
| 22 | ], |
| 23 | ); |