Commit 4ad7f0d
test: add unit tests for extractMcpJson
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>1 parent 89b8f26 commit 4ad7f0d
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments