Create the NAP-SOULSEEK mock.
Account, disclosure, and pacing options.
The mock service with advance() and authorization controls.
advance()
const slsk = createMockSoulseekService();slsk.handleMessage('win', { type: 'soulseek.search', id: 'q1', request: { text: 'debian' } }, console.log);slsk.advance(); // the tux-mirror peer answers Copy
const slsk = createMockSoulseekService();slsk.handleMessage('win', { type: 'soulseek.search', id: 'q1', request: { text: 'debian' } }, console.log);slsk.advance(); // the tux-mirror peer answers
Create the NAP-SOULSEEK mock.