Skip to content
Commit Detail

Commit 116932f

Author
Harris Hancock <harris@cloudflare.com> 2024-08-20 13:03:23 +0100
Parents
46dfceb
Tree
957c2dd
[nfc] Add a WorkerdServerHarness JavaScript test helper

This commit adds a JavaScript helper library to make workerd subprocess management easier in JavaScript tests. It uses workerd's `--control-fd` feature to fulfill promises once expected ports have come online, similar to how compile-tests/ works.

A subsequent commit will depend on this in a new js_test() target.

Files changed

3 files changed+2 added~1 modified