{ "$schema": "node_modules/wrangler/config-schema.json", // the real worker (via tests/test-worker.ts, which adds a fixed-clock // cache), with WEBAPP bound to tests/fake-webapp.js (an aux worker // declared in vitest.config.ts) "name": "diigo-cache-tests", "main": "./tests/test-worker.ts", "compatibility_date": "2026-09-29", "rules": [{ "type": "Text", "globs": ["**/capnweb/dist/index.js"], "fallthrough": true }], "services": [ { "binding": "WEBAPP", "service": "fake-webapp", "entrypoint": "WebAppFactory" } ], "durable_objects": { "bindings": [ { "name": "CACHE_DO", "class_name": "DiigoCache" }, { "name": "PUBLIC_DO", "class_name": "PublicCache" }, { "name": "CLOCKED_DO", "class_name": "FixedClockCache" } ] }, "exports": { "DiigoCache": { "type": "durable-object", "storage": "sqlite" }, "PublicCache": { "type": "durable-object", "storage": "sqlite" }, "FixedClockCache": { "type": "durable-object", "storage": "sqlite" } } }