Summarize a Jest test failure
Extract the failing Jest suite and test, expected-versus-received assertion, JavaScript or TypeScript frames, focused rerun command, and repair guidance from Jest, Vitest, or compatible test output.
$0.003 USDC POST /v1/jest-summary
developer-tools · jest · javascript · testing
Use it for
- summarize Jest failure
- parse Vitest error
- rerun failed JavaScript test
Example input
{
"log": "FAILED tests/test_math.py::test_total - AssertionError: assert 1 == 2",
"step_name": "pytest"
}Example output
{
"success": true,
"framework": "jest",
"diagnosis": {
"failure_type": "pytest",
"error_message": "AssertionError: assert 1 == 2",
"stack_trace": [
"tests/test_math.py:8: AssertionError"
],
"suggested_fix_category": "test_failure",
"confidence": 0.96
},
"rerun_command": "npx jest path/to/test --runInBand"
}Call it
Use an x402 v2 payment-aware client from the quickstart. An unpaid request safely returns the exact payment challenge before any work runs.