Skip to content
File

Blob: src/workerd/api/tests/cf-cache-control-test.wd-test

805 bytes
1using Workerd = import "/workerd/workerd.capnp";
2 
3const unitTests :Workerd.Config = (
4 services = [
5 ( name = "cf-cache-control-test",
6 worker = (
7 modules = [
8 ( name = "worker", esModule = embed "cf-cache-control-test.js" )
9 ],
10 bindings = [
11 ( name = "CACHE_ENABLED", json = "false" ),
12 ],
13 compatibilityFlags = ["nodejs_compat", "cache_option_disabled"],
14 )
15 ),
16 ( name = "cf-cache-control-test-cache-enabled",
17 worker = (
18 modules = [
19 ( name = "worker-cache-enabled", esModule = embed "cf-cache-control-test.js" )
20 ],
21 bindings = [
22 ( name = "CACHE_ENABLED", json = "true" ),
23 ],
24 compatibilityFlags = ["nodejs_compat", "cache_option_enabled"],
25 )
26 ),
27 ],
28);