File
Blob: src/workerd/api/tests/stub-storage-test.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | const unitTests :Workerd.Config = ( |
| 4 | services = [ |
| 5 | ( name = "stub-storage-test", |
| 6 | worker = ( |
| 7 | modules = [ |
| 8 | (name = "worker", esModule = embed "stub-storage-test.js") |
| 9 | ], |
| 10 | compatibilityFlags = [ |
| 11 | "nodejs_compat", |
| 12 | "allow_irrevocable_stub_storage", |
| 13 | "experimental", |
| 14 | "rpc", |
| 15 | "enable_ctx_exports", |
| 16 | "service_binding_extra_handlers", |
| 17 | "fetcher_no_get_put_delete", |
| 18 | ], |
| 19 | durableObjectNamespaces = [ |
| 20 | (className = "MyActor", uniqueKey = "foo", enableSql = true), |
| 21 | ], |
| 22 | durableObjectStorage = (inMemory = void), |
| 23 | ) |
| 24 | ), |
| 25 | ], |
| 26 | ); |