Create the NAP-HASHTREE mock.
Capabilities, signer state, job pacing, and shared mock options.
An extension-kind mock for the hashtree domain.
extension
hashtree
const hashtree = createMockHashtreeService();hashtree.handleMessage('w1', { type: 'hashtree.list', id: 'l1', ref: `htree://${MOCK_HASHTREE_AUTHOR}/distros` }, send); Copy
const hashtree = createMockHashtreeService();hashtree.handleMessage('w1', { type: 'hashtree.list', id: 'l1', ref: `htree://${MOCK_HASHTREE_AUTHOR}/distros` }, send);
Create the NAP-HASHTREE mock.