feat(modules): deepen trust, experimental, routing, and search
Hyper-P2P Module Tests / unit-all (push) Failing after 1h17m5s
Hyper-P2P Module Tests / unit-all (push) Failing after 1h17m5s
Session revoke and encrypted-topic JSON helpers; silence/void channel snapshots; relay tunnel route listing; grow-only set algebra; CPU top donors; attestation chain slice/export; fulltext bulk and top terms. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -29,6 +29,19 @@ test('silence-protocol: merge', async (t) => {
|
||||
await a.close()
|
||||
await b.close()
|
||||
})
|
||||
|
||||
test('silence-protocol: listAbsent clear revoke', async (t) => {
|
||||
const s = new HyperP2PSilenceProtocol()
|
||||
s.assertAbsent('a')
|
||||
s.assertAbsent('b')
|
||||
t.is(s.absentCount(), 2)
|
||||
t.is(s.listAbsent().length, 2)
|
||||
t.ok(s.revokeAbsent('a'))
|
||||
t.is(s.absentCount(), 1)
|
||||
s.clear()
|
||||
t.is(s.absentCount(), 0)
|
||||
await s.close()
|
||||
})
|
||||
test('hyper-p2p-silence-protocol: close without leak', async (t) => {
|
||||
const m = new HyperP2PSilenceProtocol()
|
||||
await m.close()
|
||||
|
||||
Reference in New Issue
Block a user