MCPcopy
hub / github.com/Fission-AI/OpenSpec / createChange

Function createChange

test/commands/store-references.test.ts:49–52  ·  view source on GitHub ↗
(cwd: string, name: string, extraArgs: string[] = [])

Source from the content-addressed store, hash-verified

47 }
48
49 async function createChange(cwd: string, name: string, extraArgs: string[] = []) {
50 const result = await runCLI(['new', 'change', name, '--json', ...extraArgs], { cwd, env });
51 expect(result.exitCode).toBe(0);
52 }
53
54 it('carries the live index in both instruction surfaces, both modes', async () => {
55 await createChange(appRepo, 'billing-rework');

Callers 2

Calls 1

runCLIFunction · 0.85

Tested by

no test coverage detected