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 { HyperP2PStreamTee, PROTOCOL } = require('../index.js')
test('exports load', (t) => {
t.ok(HyperP2PStreamTee)
t.is(PROTOCOL, 'stream-tee/v1')
})
test('getStats shape', async (t) => {
const m = new HyperP2PStreamTee()
const s = m.getStats()
t.is(s.tier, 'scaffold')
t.is(s.protocol, 'stream-tee/v1')
})