Create the NAP-OUTBOX mock.
Store, shell user, and shared mock options.
An outbox ServiceHandler with mock controls.
ServiceHandler
mock
const outbox = createMockOutboxService();outbox.handleMessage('w1', { type: 'outbox.resolveRelays', id: 'r1', target: { pubkey: MOCK_ACCOUNTS[1].pubkey } }, console.log); Copy
const outbox = createMockOutboxService();outbox.handleMessage('w1', { type: 'outbox.resolveRelays', id: 'r1', target: { pubkey: MOCK_ACCOUNTS[1].pubkey } }, console.log);
Create the NAP-OUTBOX mock.