mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-01 20:33:50 +00:00
logicsrc-mcp test: the next free PRD id is 0009 now that PRD 0008 exists
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RZV4zJ2pDZLNN3kE5jFCmV
This commit is contained in:
parent
85608e5540
commit
ad6523d472
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ describe("MCP: OpenPRD", () => {
|
||||||
it("reports the next free id and the allowed lifecycle moves", async () => {
|
it("reports the next free id and the allowed lifecycle moves", async () => {
|
||||||
const client = await connect();
|
const client = await connect();
|
||||||
// Asserted against the live prd/ directory, so this advances with every PRD added.
|
// Asserted against the live prd/ directory, so this advances with every PRD added.
|
||||||
expect(toolText(await client.callTool({ name: "prd_next_id", arguments: {} }))).toBe("0008");
|
expect(toolText(await client.callTool({ name: "prd_next_id", arguments: {} }))).toBe("0009");
|
||||||
|
|
||||||
const moves = await client.callTool({ name: "prd_next_statuses", arguments: { ref: "0001" } });
|
const moves = await client.callTool({ name: "prd_next_statuses", arguments: { ref: "0001" } });
|
||||||
const payload = JSON.parse(toolText(moves)) as { status: string; allowedNext: string[] };
|
const payload = JSON.parse(toolText(moves)) as { status: string; allowedNext: string[] };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue