Create the NAP-IDENTITY mock.
Store, shell user, fixtures, and shared mock options.
An identity ServiceHandler with mock controls.
ServiceHandler
mock
const identity = createMockIdentityService();identity.handleMessage('w1', { type: 'identity.getPublicKey', id: 'q1' }, console.log); Copy
const identity = createMockIdentityService();identity.handleMessage('w1', { type: 'identity.getPublicKey', id: 'q1' }, console.log);
Create the NAP-IDENTITY mock.