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

Function createCommand

src/session/replSubmitPreludePlan.test.ts:5–14  ·  view source on GitHub ↗
(overrides: Partial<Command> = {})

Source from the content-addressed store, hash-verified

3import { resolveReplSubmitPreludePlan } from './replSubmitPreludePlan.js'
4
5function createCommand(overrides: Partial<Command> = {}): Command {
6 return {
7 name: 'config',
8 description: 'config',
9 type: 'local-jsx',
10 immediate: true,
11 load: async () => ({ call: async () => null }),
12 ...overrides,
13 } as Command
14}
15
16describe('resolveReplSubmitPreludePlan', () => {
17 const base = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected