Package testengine runs a real go-wasmcontainers engine in the test's
process: the daemon with the wazero executor and an in-memory image
store, its API handler, and a registry serving the demo images (built
for wasip1 at test time). The dashboard reaches it through the same
bridge the browser uses.
type Engine struct {
// Handler is the engine's API. Handler http.Handler// Client reaches Handler through the bridge, as the page does. Client *http.Client// Bridge is the server end of the bridge. Bridge *bridge.Server
}
New starts an engine whose registry mirror serves the demo images under
their familiar names (hello, clock, fail), and hello's module again under
each of the extra names.