Files
dxdesigner-part-replacement/tools/accept_harness_runtime.mjs

7 lines
399 B
JavaScript

/** Test-only host wrapper; production runtime composition remains unchanged. */
import {bootRuntime} from '../integration/dsh/start.mjs';
import {observeRuntime} from './acceptance_runtime_state.mjs';
const {ctx}=await bootRuntime({announce:false});
observeRuntime(ctx);
console.log('DX_DSH_READY '+JSON.stringify({url:ctx.connection.authenticatedUrl(`http://127.0.0.1:${ctx.webServer.port}/`)}));