This commit is contained in:
Raven Scott
2026-05-20 21:19:52 -04:00
parent 14d0980b4f
commit 31e9728ef8
759 changed files with 54218 additions and 392 deletions
@@ -0,0 +1,14 @@
const test = require('brittle')
const { HyperP2PLoadSpread, PROTOCOL } = require('../index.js')
test('exports load', (t) => {
t.ok(HyperP2PLoadSpread)
t.is(PROTOCOL, 'load-spread/v1')
})
test('getStats shape', async (t) => {
const m = new HyperP2PLoadSpread()
const s = m.getStats()
t.is(s.tier, 'scaffold')
t.is(s.protocol, 'load-spread/v1')
})