Skip to content
File

Blob: src/workerd/api/node/tests/diagnostics-channel-test.wd-test

708 bytes
1using Workerd = import "/workerd/workerd.capnp";
2 
3const unitTests :Workerd.Config = (
4 services = [
5 ( name = "diagnostics-channel-test",
6 worker = (
7 modules = [
8 (name = "worker", esModule = embed "diagnostics-channel-test.js")
9 ],
10 compatibilityFlags = [
11 "nodejs_compat",
12 "nodejs_compat_v2",
13 # Explicitly opt out of the `hasSubscribers` getter so this test file
14 # always exercises the legacy method behavior, even under
15 # `@all-compat-flags`. The getter behavior is covered by
16 # `diagnostics-channel-getter-test`.
17 "no_diagnostics_channel_has_subscribers_getter",
18 ]
19 )
20 ),
21 ],
22);