cultnet-ts test: read the signed document, not the SignedRuntimePresence wrapper

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-29 03:15:40 +02:00
commit 322b7c815a

View file

@ -160,7 +160,7 @@ test("the signer owns the reported health: a fresh signer is warming, reportHeal
const signer = signerFor(context, "web");
const first = signer.answerRouteObservation(CHALLENGE);
assert.equal(presenceSlot(first, RUNTIME_PRESENCE_SLOT.state), "warming");
assert.equal(presenceSlot(signer.sign("detail"), RUNTIME_PRESENCE_SLOT.state), "warming");
assert.equal(presenceSlot(signer.sign("detail").document, RUNTIME_PRESENCE_SLOT.state), "warming");
signer.reportHealth("active");
const third = signer.answerRouteObservation(CHALLENGE);
assert.equal(presenceSlot(third, RUNTIME_PRESENCE_SLOT.state), "active");