File
Blob: src/workerd/api/tests/identity-transform-stream-state-machine-test.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | # TODO(cleanup): This is a copy of an existing test in streams-test. Once the autogate is remvoed, |
| 4 | # this separate test can be deleted. |
| 5 | const unitTests :Workerd.Config = ( |
| 6 | autogates = ["workerd-autogate-identity-transform-stream-use-state-machine"], |
| 7 | services = [ |
| 8 | ( name = "identity-transform-stream-state-machine-test", |
| 9 | worker = ( |
| 10 | modules = [ |
| 11 | (name = "worker", esModule = embed "identity-transform-stream-state-machine-test.js") |
| 12 | ], |
| 13 | compatibilityFlags = ["nodejs_compat", "nodejs_compat_v2", "streams_enable_constructors"], |
| 14 | ) |
| 15 | ), |
| 16 | ], |
| 17 | ); |