File
Blob: src/workerd/api/tests/global-scope-test.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | const unitTests :Workerd.Config = ( |
| 4 | services = [ |
| 5 | ( name = "global-scope-test", |
| 6 | worker = ( |
| 7 | modules = [ |
| 8 | (name = "worker", esModule = embed "global-scope-test.js") |
| 9 | ], |
| 10 | # "experimental" is for ctx.exports |
| 11 | compatibilityFlags = ["nodejs_compat", "enable_ctx_exports", "global_navigator", "rpc", "set_tostring_tag"] |
| 12 | ) |
| 13 | ), |
| 14 | ], |
| 15 | ); |