- Timestamp:
- 07/25/2026 09:15:34 AM (7 weeks ago)
- Branches:
- main
- Children:
- 4f15f67
- Parents:
- af5b79b
- File:
-
- 1 edited
-
test/follow-gating.test.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
test/follow-gating.test.js
raf5b79b r2b4252c 33 33 assert.equal(r.outcome, 'rejected'); 34 34 }); 35 36 test('guardian-side review copy (cross-instance, modelled on the offer)', () => { 37 // A remote ward's server forwarded an Offer(Follow); the guardian stores a copy. 38 G.follows.recordReview('gran', { id: 'r1', wardUri: 'https://w.example/kid', wardInbox: 'https://w.example/kid/inbox', follower: STRANGER, followerHandle: '@x@m.social' }); 39 const list = G.follows.listReviews('gran'); 40 assert.equal(list.length, 1); 41 assert.equal(list[0].ward_inbox, 'https://w.example/kid/inbox'); 42 assert.ok(G.follows.getReview('gran', 'r1')); 43 G.follows.removeReview('gran', 'r1'); 44 assert.equal(G.follows.listReviews('gran').length, 0); 45 });
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)