MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / handler

Function handler

test/unit/commandHandler.test.js:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32 it('registerCommand adds command', () => {
33 handler.registerCommand({ command: 'ping', aliases: ['p'], category: 'general', description: 'test', async handler() {} });
34 expect(handler.commands.has('ping')).toBe(true);
35 });
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected