Changeset 1a2d8ac in Klonkt for test/guardianship.test.js
- Timestamp:
- 07/24/2026 05:36:42 PM (7 weeks ago)
- Branches:
- main
- Children:
- c26cc18
- Parents:
- e84ce32
- git-author:
- Robin Genis <roboburr@…> (07/24/2026 05:36:30 PM)
- git-committer:
- Robin Genis <roboburr@…> (07/24/2026 05:36:42 PM)
- File:
-
- 1 edited
-
test/guardianship.test.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
test/guardianship.test.js
re84ce32 r1a2d8ac 77 77 assert.equal(G.listOffers('kid').length, 1); 78 78 79 // The kid's offers queue carries the daemon-contract helper fields the 80 // Shaer clients render their accept button from. 81 const kidQ = G.offersCollection(`${KID}/queues/offers`, 'kid', KID); 82 assert.equal(kidQ.totalItems, 1); 83 assert.equal(kidQ.orderedItems[0]['shaer:needsMyAccept'], true); 84 assert.equal(kidQ.orderedItems[0]['shaer:iAmCandidate'], false); 85 assert.equal(kidQ.orderedItems[0]['shaer:ward'], KID); 86 assert.equal(kidQ.orderedItems[0]['shaer:candidate'], ME); 87 79 88 // The kid accepts over C2S; the answer travels to the guardian. 80 89 const r = await G.handleGuardianshipOutbox(kid, { type: 'Accept', object: offerId });
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)