feat: finalize corrected-route planning and Rerun recording review

This commit is contained in:
DCCONSTRUCTIONS
2026-09-22 10:10:03 +03:00
parent c804d89b18
commit 2e5d52521f
132 changed files with 14141 additions and 898 deletions
@@ -59,6 +59,17 @@ function bridge(native, mount = {}) {
return parent;
}
test("camera snapshot crosses the disposable realm as copied primitive data", () => {
const eye = { position: [300, 7, 8], lookTarget: [298, 9, 0], eyeUp: [0, 0, 1] };
const { facade, dispose } = bridge({ stop() {}, get_camera_eye: () => eye });
const received = facade.get_camera_eye();
assert.deepEqual(received, eye);
assert.notEqual(received, eye);
assert.notEqual(received.position, eye.position);
dispose();
assert.throws(() => facade.get_camera_eye(), /disposed/);
});
test("recorded realm terminates on close even if upstream stop throws", async (t) => {
const f = fixture(t, { stopFails: true });
const scope = createIsolatedRerunHost(f.host);