Create the NAP-CATALOG mock.
Catalog, defaults, availability, and shared mock options.
The catalog mock service.
const catalog = createMockCatalogService();catalog.handleMessage('w1', { type: 'catalog.get', id: 'c1' }, send);// → { type: 'catalog.get.result', id: 'c1', snapshot: { napplets: [...], handlers: [...] } } Copy
const catalog = createMockCatalogService();catalog.handleMessage('w1', { type: 'catalog.get', id: 'c1' }, send);// → { type: 'catalog.get.result', id: 'c1', snapshot: { napplets: [...], handlers: [...] } }
Create the NAP-CATALOG mock.