MCPcopy Create free account
hub / github.com/Noumena-Network/code / createCommand

Function createCommand

src/session/replSubmitPreflight.test.ts:10–22  ·  view source on GitHub ↗
(
  overrides: Partial<Command> = {},
)

Source from the content-addressed store, hash-verified

8} from './replSubmitPreflight.js'
9
10function createCommand(
11 overrides: Partial<Command> = {},
12): Command {
13 return {
14 name: 'test',
15 description: 'test command',
16 type: 'local-jsx',
17 load: async () => ({
18 call: async () => null,
19 }),
20 ...overrides,
21 } as Command
22}
23
24describe('resolveBackgroundPRShortcutCandidate', () => {
25 it('returns null unless ant prompt submit without speculation accept', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected