Skip to content

test: add unit tests for extractMcpJson#6838

Merged
TIANQIAN1238 merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-extract-mcp-json
Jul 6, 2026
Merged

test: add unit tests for extractMcpJson#6838
TIANQIAN1238 merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-extract-mcp-json

Conversation

@TIANQIAN1238

Copy link
Copy Markdown
Contributor

💻 变更类型 | Change Type

  • test

🔀 变更说明 | Description of Change

Adds test/extract-mcp-json.test.ts for extractMcpJson (app/mcp/utils.ts): extracts the client id and parsed payload, and returns null when there is no mcp block. No production code is modified.

🤖 Generated with Claude Code

Cover extracting the client id and parsed payload from a json:mcp block, and returning null when absent (app/mcp/utils.ts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TIANQIAN1238
TIANQIAN1238 merged commit 4f1f667 into ChatGPTNextWeb:main Jul 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant